Skip to content
Snippets Groups Projects
Commit 7229454c authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Rotation angles can be negative in LOS transform context.

parent af6748d1
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ public class FixedRotation implements TimeIndependentLOSTransform {
this.rotation = null;
this.rDS = null;
try {
this.angleDriver = new ExtendedParameterDriver(name, angle, SCALE, 0, 2 * FastMath.PI);
this.angleDriver = new ExtendedParameterDriver(name, angle, SCALE, -2 * FastMath.PI, 2 * FastMath.PI);
angleDriver.addObserver(new ParameterObserver() {
@Override
public void valueChanged(final double previousValue, final ParameterDriver driver) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment