diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-25 15:10:37 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-25 15:10:37 -0600 |
| commit | 118980e02e59ff31871df59dce257075394f3533 (patch) | |
| tree | 26fba4492bb4b561d21bf49b35d892a821d54fab /include/cglm/call/mat3x2.h | |
| parent | 0e6e1245b70df4dfcba135d50e1b53d1a8ef7eb8 (diff) | |
wip
Diffstat (limited to 'include/cglm/call/mat3x2.h')
| -rw-r--r-- | include/cglm/call/mat3x2.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/cglm/call/mat3x2.h b/include/cglm/call/mat3x2.h new file mode 100644 index 0000000..246a269 --- /dev/null +++ b/include/cglm/call/mat3x2.h @@ -0,0 +1,47 @@ +/* + * Copyright (c), Recep Aslantas. + * + * MIT License (MIT), http://opensource.org/licenses/MIT + * Full license can be found in the LICENSE file + */ + +#ifndef cglmc_mat3x2_h +#define cglmc_mat3x2_h +#ifdef __cplusplus +extern "C" { +#endif + +#include "../cglm.h" + +CGLM_EXPORT +void +glmc_mat3x2_copy(mat3x2 src, mat3x2 dest); + +CGLM_EXPORT +void +glmc_mat3x2_zero(mat3x2 m); + +CGLM_EXPORT +void +glmc_mat3x2_make(const float * __restrict src, mat3x2 dest); + +CGLM_EXPORT +void +glmc_mat3x2_mul(mat3x2 m1, mat2x3 m2, mat2 dest); + +CGLM_EXPORT +void +glmc_mat3x2_mulv(mat3x2 m, vec3 v, vec2 dest); + +CGLM_EXPORT +void +glmc_mat3x2_transpose(mat3x2 src, mat2x3 dest); + +CGLM_EXPORT +void +glmc_mat3x2_scale(mat3x2 m, float s); + +#ifdef __cplusplus +} +#endif +#endif /* cglmc_mat3x2_h */ |
