Q3Vector3D_Transform
You can use the 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 multiplying
vector3D by matrix4x4.
DESCRIPTION
The 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.