VKVG  
Vulkan Vector Graphics

◆ 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
matrixa valid vkvg_matrix_t pointer
radiansangle 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.