mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 12:32:40 +00:00
52 lines
881 B
C
52 lines
881 B
C
/*
|
|
* Copyright (c), Recep Aslantas.
|
|
*
|
|
* MIT License (MIT), http://opensource.org/licenses/MIT
|
|
* Full license can be found in the LICENSE file
|
|
*/
|
|
|
|
#include "../include/cglm/cglm.h"
|
|
#include "../include/cglm/call.h"
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_copy(mat3x4 mat, mat3x4 dest) {
|
|
glm_mat3x4_copy(mat, dest);
|
|
}
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_zero(mat3x4 mat) {
|
|
glm_mat3x4_zero(mat);
|
|
}
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_make(float * __restrict src, mat3x4 dest) {
|
|
glm_mat3x4_make(src, dest);
|
|
}
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_mul(mat3x4 m1, mat4x3 m2, mat3 dest) {
|
|
glm_mat3x4_mul(m1, m2, dest);
|
|
}
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_mulv(mat3x4 m, vec4 v, vec3 dest) {
|
|
glm_mat3x4_mulv(m, v, dest);
|
|
}
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_transpose(mat3x4 m, mat4x3 dest) {
|
|
glm_mat3x4_transpose(m, dest);
|
|
}
|
|
|
|
CGLM_EXPORT
|
|
void
|
|
glmc_mat3x4_scale(mat3x4 m, float s) {
|
|
glm_mat3x4_scale(m, s);
|
|
}
|