equalsEpsilon
fun equalsEpsilon(left: Quaternion? = definedExternally, right: Quaternion? = definedExternally, epsilon: Double? = definedExternally): Boolean(source)
Compares the provided quaternions 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
left
The first quaternion.
right
The second quaternion.
epsilon
The epsilon to use for equality testing. Default value - 0