20 Transforming Points and Vectors
Q3Vector3D_Transform
function to apply a transform to a three-dimensional vector.
TQ3Vector3D *Q3Vector3D_Transform ( const TQ3Vector3D *vector3D, const TQ3Matrix4x4 *matrix4x4, TQ3Vector3D *result);vector3D
A three-dimensional vector.matrix4x4
A 4-by-4 matrix.result
On exit, the vector that is the result of multiplyingvector3D
bymatrix4x4
.
Q3Vector3D_Transform
function returns, as its function result and in the result
parameter, the vector that is the result of multiplying the vector vector3D
by the matrix transform matrix4x4
. Note that on entry the result
parameter can be the same as the vector3D
parameter.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker