ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
math
/
ktx.math
/
ImmutableVector
/
isUnit
is
Unit
open
fun
isUnit
(
margin
:
Float
=
MathUtils.FLOAT_ROUNDING_ERROR
)
:
Boolean
Returns whether this vector is a unit length vector within the given
margin
. (no margin by default)