VKVG
Vulkan Vector Graphics
View on GitHub
Matrices
VKVG_IDENTITY_MATRIX
vkvg_matrix_get_scale
vkvg_matrix_init
vkvg_matrix_init_identity
vkvg_matrix_init_rotate
vkvg_matrix_init_scale
vkvg_matrix_init_translate
vkvg_matrix_invert
vkvg_matrix_multiply
vkvg_matrix_rotate
vkvg_matrix_scale
vkvg_matrix_transform_distance
vkvg_matrix_transform_point
vkvg_matrix_translate
◆
vkvg_matrix_init_translate()
void vkvg_matrix_init_translate
(
vkvg_matrix_t
*
matrix
,
float
tx
,
float
ty
)
Initialize members of the supplied matrix to create a translation matrix.
Parameters
matrix
a valid
vkvg_matrix_t
pointer
tx
translation in the X direction
ty
translation in the Y direction
Generated by
1.9.1