20 Managing Quaternions
Q3Quaternion_Set
function to set the components of a quaternion.
TQ3Quaternion *Q3Quaternion_Set ( TQ3Quaternion *quaternion, float w, float x, float y, float z);quaternion
A quaternion.w
The desired w component of a quaternion.x
The desired x component of a quaternion.y
The desired y component of a quaternion.z
The desired z component of a quaternion.
Q3Quaternion_Set
function returns, as its function result and in the quaternion
parameter, the quaternion whose components are specified by the w
, x
, y
, and z
parameters.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker