aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/rei/math.kt
blob: d5314735205f73747b8352b0e8a05cc98f8aeb2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

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,
)