|
◆ vkvg_matrix_init_rotate()
void vkvg_matrix_init_rotate |
( |
vkvg_matrix_t * |
matrix, |
|
|
float |
radians |
|
) |
| |
Initialize members of the supplied matrix to create a new rotation matrix - Parameters
-
matrix | a valid vkvg_matrix_t pointer |
radians | angle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of vkvg, positive angles rotate in a clockwise direction. |
|