mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
func for make matrix identity
This commit is contained in:
@@ -19,6 +19,12 @@ glmc_mat4_copy(mat4 mat, mat4 dest) {
|
||||
glm_mat4_copy(mat, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_mat4_identity(mat4 mat) {
|
||||
glm_mat4_identity(mat);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_mat4_pick3(mat4 mat, mat3 dest) {
|
||||
|
||||
@@ -13,6 +13,12 @@ glmc_mat3_copy(mat3 mat, mat3 dest) {
|
||||
glm_mat3_copy(mat, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_mat3_identity(mat3 mat) {
|
||||
glm_mat3_identity(mat);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_mat3_mul(mat3 m1, mat3 m2, mat3 dest) {
|
||||
|
||||
Reference in New Issue
Block a user