Actually gen

This commit is contained in:
Daniel Mills committed 2021-08-04 02:13:08 -04:00
1 parent 1155789a75
commit 6f08c1f758
3 files changed
+12 -4

No files matched your search

@@ -18,6 +18,8 @@
package com.volmit.iris.util.math;
import com.volmit.iris.engine.object.IrisPosition;
public class Position2 {
private int x;
private int z;
@@ -82,4 +84,8 @@ public class Position2 {
public Position2 blockToChunk() {
return new Position2(x >> 4, z >> 4);
}
public IrisPosition toIris() {
return new IrisPosition(x, 0, z);
}
}