equalsEpsilon
fun equalsEpsilon(right: Quaternion? = definedExternally, epsilon: Double? = definedExternally): Boolean(source)
Compares this and the provided quaternion componentwise and returns true
if they are within the provided epsilon, false
otherwise.
Return
true
if left and right are within the provided epsilon, false
otherwise.
Parameters
right
The right hand side quaternion.
epsilon
The epsilon to use for equality testing. Default value - 0