Commit a30f22b8 authored by Evan Ward's avatar Evan Ward
Browse files

Use positionShiftedBy() in Transform

In staticShiftedBy(...) use positionShiftedBy because it is slightly
more efficient than shiftedBy(...).

For #903
parent 322b0ff4
......@@ -357,7 +357,7 @@ public class Transform implements
public StaticTransform staticShiftedBy(final double dt) {
return StaticTransform.of(
date.shiftedBy(dt),
cartesian.shiftedBy(dt).getPosition(),
cartesian.positionShiftedBy(dt),
angular.rotationShiftedBy(dt));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment