diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/rei/math.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/rei/math.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/math.kt b/src/main/kotlin/moe/nea/firmament/rei/math.kt new file mode 100644 index 0000000..e3504a1 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/rei/math.kt @@ -0,0 +1,8 @@ +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, +) |