toggle menu
ktx
jvm
switch theme
search in API
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)