Quaternion.operator == 运算符 等于

static operator == (lhs : Quaternion, rhs : Quaternion) : Quaternion

Description描述

Are two quaternions equal to each other?

两个四元数相等?

This function tests whether dot product of two quaternions is close to 1.0.

这个函数测试两个四元数的点乘是否接近1.0。

Note that because quaternions can represent rotations that are up to two full revolutions (720 degrees), this comparison can return false even if resulting rotations look the same.

注意,因为四元数可以表示旋转最大为两个完整的旋转(720度),这种比较可以返回false,即使导致旋转看起来是一样的。

Page last updated: 2011-1-16