13
0

Don't invert azimuth & elevation display value

This commit is contained in:
Robin Gareus 2017-06-30 20:01:53 +02:00
parent 1682368052
commit 1cbc91788f

View File

@ -301,7 +301,7 @@ ParameterDescriptor::to_interface (float val) const
break;
case PanAzimuthAutomation:
case PanElevationAutomation:
val = 1.f - val;
val = val;
break;
case PanWidthAutomation:
val = .5f + val * .5f;
@ -352,7 +352,7 @@ ParameterDescriptor::from_interface (float val) const
break;
case PanAzimuthAutomation:
case PanElevationAutomation:
val = 1.f - val;
val = val;
break;
case PanWidthAutomation:
val = 2.f * val - 1.f;