Kotlin Computational Geometry
Toggle table of contents
0.5.0
Select version
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Kotlin Computational Geometry
Kotlin Computational Geometry
/
io.github.cponfick.kompgeom.euclidean.twod
/
MutableVec2
/
unaryMinus
unary
Minus
open
operator override
fun
unaryMinus
(
)
:
MutableVec2
(
source
)
Negates the vector, flipping its direction.
Return
A vector that points in the opposite direction.