mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Parallax fixes
This commit is contained in:
1 parent
a4ba07de99
commit
0d5e3a080c
4 files changed
+43
-47
No files matched your search
@@ -83,4 +83,8 @@ public class Position2 {
|
||||
public Position2 add(int x, int z) {
|
||||
return new Position2(this.x + x, this.z + z);
|
||||
}
|
||||
|
||||
public Position2 blockToChunk() {
|
||||
return new Position2(x >> 4, z >> 4);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user