L_VecGetRotation
#include "lvkrn.h"
L_LVKRN_API L_INT L_VecGetRotation(pVector, pRotation)
const pVECTORHANDLE pVector; |
/* pointer to a vector handle */ |
pVECTORPOINT pRotation; |
/* pointer to a vector point */ |
Gets the current rotation values.
Parameter |
Description |
pVector |
Pointer to a vector handle. |
pRotation |
Pointer to a VECTORPOINT structure to be updated with the current rotation values. The rotation values are in degrees. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The rotation values retrieved are those set using L_VecSetRotation, with pObject set to NULL and dwFlags set to 0L.
The default rotation angle values are 0.0, 0.0, and 0.0 for the X, Y and Z axes.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
L_VecSetRotation, L_VecSetScale, L_VecGetScale, L_VecSetTranslation, L_VecGetTranslation, L_VecSetBindVerticesMode, L_VecGetBindVerticesMode |
Example
For an example, refer to L_VecSetRotation.