summaryrefslogtreecommitdiff
path: root/src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt')
-rw-r--r--src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt b/src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt
index 5945120..3b25526 100644
--- a/src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt
+++ b/src/main/kotlin/io/dico/parcels2/util/math/Vec2i.kt
@@ -1,9 +1,9 @@
-package io.dico.parcels2.util.math
-
-data class Vec2i(
- val x: Int,
- val z: Int
-) {
- fun add(ox: Int, oz: Int) = Vec2i(x + ox, z + oz)
- fun toChunk() = Vec2i(x shr 4, z shr 4)
-}
+package io.dico.parcels2.util.math
+
+data class Vec2i(
+ val x: Int,
+ val z: Int
+) {
+ fun add(ox: Int, oz: Int) = Vec2i(x + ox, z + oz)
+ fun toChunk() = Vec2i(x shr 4, z shr 4)
+}