Skip to content
Snippets Groups Projects
Commit 27cd7ec8 authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

SCALE and bounds change in los transforms

parent 878e8e95
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ public class FixedRotation implements TimeIndependentLOSTransform {
* in the multiplications/divisions sequences.
* </p>
*/
private final double SCALE = FastMath.scalb(1.0, -20);
private final double SCALE = FastMath.scalb(1.0, 0);
/** Rotation axis. */
private final Vector3D axis;
......
......@@ -41,7 +41,7 @@ public class FixedZHomothety implements TimeIndependentLOSTransform {
* in the multiplications/divisions sequences.
* </p>
*/
private final double SCALE = FastMath.scalb(1.0, -20);
private final double SCALE = FastMath.scalb(1.0, 0);
/** Homothety factor. */
private double factor;
......@@ -63,7 +63,7 @@ public class FixedZHomothety implements TimeIndependentLOSTransform {
this.factor = factorvalue;
this.factorDS = null;
try {
this.factorDriver = new ParameterDriver(name, factorvalue, SCALE, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY);
this.factorDriver = new ParameterDriver(name, factorvalue, SCALE, 0, Double.POSITIVE_INFINITY);
factorDriver.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