IPos objects now use double values in calculations for distance, addition, cross product, etc.

This commit is contained in:
Luis C.M committed 2023-07-07 17:51:51 -05:00
1 parent 9de16f1eef
commit b592bb5d5e
7 files changed
+58 -43

No files matched your search

@@ -143,9 +143,9 @@ public class ScriptSound implements ISound {
}
public void setPosition(IPos pos) {
this.xPosF = pos.getX();
this.yPosF = pos.getY();
this.zPosF = pos.getZ();
this.xPosF = (float) pos.getXD();
this.yPosF = (float) pos.getYD();
this.zPosF = (float) pos.getZD();
}
public void setPosition(float x, float y, float z) {