KVector3d.appliedQuaternion() method
对当前向量应用一个由四元数定义的旋转变换,得到一个新向量。
Return a new Vector which is the result of this vector transformed by the input quaternion.
Signature:
appliedQuaternion(quaternion: KQuaternion): KVector3d;
Links: appliedQuaternion(quaternion: KQuaternion): KVector3d;
Parameters
Parameter | Type | Description |
---|---|---|
quaternion | 四元数 the input quaternion which detines the rotation. |
Returns:
得到一个新的向量。
The new vector.