Equals methods for vectors and quaternions