We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9916e24 commit e08759aCopy full SHA for e08759a
common/src/main/kotlin/com/lambda/util/world/Position.kt
@@ -179,12 +179,12 @@ infix fun FastVector.div(scalar: Double): FastVector =
179
/**
180
* Modulo the position by the given scalar.
181
*/
182
-infix fun FastVector.mod(scalar: Int): FastVector = fastVectorOf(x % scalar, y % scalar, z % scalar)
+infix fun FastVector.remainder(scalar: Int): FastVector = fastVectorOf(x % scalar, y % scalar, z % scalar)
183
184
185
186
187
-infix fun FastVector.mod(scalar: Double): FastVector =
+infix fun FastVector.remainder(scalar: Double): FastVector =
188
fastVectorOf((x % scalar).toLong(), (y % scalar).toLong(), (z % scalar).toLong())
189
190
0 commit comments