equals

open fun equals(lhs: Quaternion, rhs: Quaternion): Boolean

Compare two Quaternions

Tests for equality by calculating the dot product of lhs and rhs. lhs and -lhs will not be equal according to this function.


open fun equals(other: Any): Boolean

Returns true if the other object is a Quaternion and the dot product is 1.0 +/- a tolerance.