Added marks back to the race view

#story[1261]
This commit is contained in:
cbt24
2017-09-05 16:50:26 +12:00
parent 05a0614246
commit 19f4d0fc06
3 changed files with 24 additions and 30 deletions
@@ -38,16 +38,8 @@ public class Subject3D {
return mesh;
}
public double getX() {
return position.getTx();
}
public double getY() {
return position.getTy();
}
public double getZ() {
return position.getTz();
public Translate getPosition() {
return this.position;
}
public void setX(double x) {
@@ -117,9 +117,7 @@ public class View3D extends Pane {
* @param pivot centred object
*/
public void setPivot(Subject3D pivot) {
this.pivot.setX(pivot.getX());
this.pivot.setY(pivot.getY());
this.pivot.setZ(pivot.getZ());
this.pivot = pivot.getPosition();
}
/**