aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/rei/math.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/rei/math.kt')
-rw-r--r--src/main/kotlin/rei/math.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/kotlin/rei/math.kt b/src/main/kotlin/rei/math.kt
new file mode 100644
index 0000000..1318beb
--- /dev/null
+++ b/src/main/kotlin/rei/math.kt
@@ -0,0 +1,10 @@
+
+
+package moe.nea.firmament.rei
+
+import me.shedaniel.math.Point
+
+operator fun Point.plus(other: Point): Point = Point(
+ this.x + other.x,
+ this.y + other.y,
+)