Q3Vector3D_Set
You can use the Q3Vector3D_Set function to set the scalar components of a three-dimensional vector.
TQ3Vector3D *Q3Vector3D_Set (
TQ3Vector3D *vector3D,
float x,
float y,
float z);
vector3D
- A three-dimensional vector.
x
- The x scalar component of the vector.
y
- The y scalar component of the vector.
z
- The z scalar component of the vector.
DESCRIPTION
The Q3Vector3D_Set function returns, as its function result and in the vector3D parameter, the three-dimensional vector whose scalar components are specified by the x, y, and z parameters.