Q3Quaternion_Set
You can use the 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.
DESCRIPTION
The 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.