mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 04:05:12 +00:00
IPos objects now use double values in calculations for distance, addition, cross product, etc.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user