2d: add rotate2d and its friends

This commit is contained in:
Recep Aslantas
2020-07-31 15:11:00 +03:00
parent 0127d30fa8
commit b133c2e3e3
3 changed files with 111 additions and 0 deletions

View File

@@ -49,6 +49,18 @@ CGLM_EXPORT
void
glmc_scale2d_uni(mat3 m, float s);
CGLM_EXPORT
void
glmc_rotate2d_make(mat3 m, float angle);
CGLM_EXPORT
void
glmc_rotate2d(mat3 m, float angle);
CGLM_EXPORT
void
glmc_rotate2d_to(mat3 m, float angle, mat3 dest);
#ifdef __cplusplus
}
#endif