isUnit

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)