IDP.Math.KGeomLib.createRotateMatrix4FromQuaternion() method
创建一个由四元数定义的旋转变换矩阵。
Create a rotation matrix by the quaternion.
Signature:
createRotateMatrix4FromQuaternion(q: KQuaternion): KMatrix4;
Links: createRotateMatrix4FromQuaternion(q: KQuaternion): KMatrix4;
Parameters
Parameter | Type | Description |
---|---|---|
q | 四元数 The quaternion defining the rotations. |
Returns:
返回旋转矩阵。
Return a rotation matrix.