The SEDRIS Data Representation Model
APPENDIX D - Functions SE SetRotateMatrix4x4 |
---|
extern SE_DRM_Status_Code | |||
SE_SetRotateMatrix4x4 | |||
( | |||
SRM_Matrix_4x4 | mat_ptr, | 1 | |
const | SRM_Vector_3D | vec_ptr, | 2 |
SE_LSR_Transformation_Axis | axis, | 3 | |
SRM_Long_Float | theta_in_radians | 4 | |
); |
Sets *mat_ptr to a rotation matrix for the given angle of rotation for the given axis.
SE_DRM_STAT_CODE_SUCCESS | and *mat_ptr is set appropriately, if valid parameters were passed in. |
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER |
and no changes are made, if
|
SE_DRM_STAT_CODE_FAILURE | and no changes are made, if axis is not a valid, single axis (U, V, or W). |
1 pointer to the matrix to be set
2 if axis == SE_LSRAXIS_AXIS_REFERENCE_VECTOR, this vector is used to specify the axis of rotation
3 identifies the axis around which we're rotating
4 the angle of rotation, in radians
Prev: SE_SetRotateMatrix3x3.
Next: SE_SetScaleMatrix3x3.
Up:Index.
|