20 Setting Up Transformation Matrices
Q3Matrix4x4_SetRotateAboutPoint
function to configure a 4-by-4 rotation transformation matrix.
TQ3Matrix4x4 *Q3Matrix4x4_SetRotateAboutPoint ( TQ3Matrix4x4 *matrix4x4, const TQ3Point3D *origin, float xAngle, float yAngle, float zAngle);matrix4x4
A 4-by-4 matrix.origin
The desired origin of rotation.xAngle
The desired angle of rotation around the x component oforigin
, in radians.yAngle
The desired angle of rotation around the y component oforigin
, in radians.zAngle
The desired angle of rotation around the z component oforigin
, in radians.
Q3Matrix4x4_SetRotateAboutPoint
function returns, as its function result and in the matrix4x4
parameter, a rotation matrix that rotates an object by the specified angle around the point origin
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker