mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Merge branch 'master' into feature/mat3x4
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
CGLM_INLINE void glms_mat2_swap_col(mat2 mat, int col1, int col2)
|
||||
CGLM_INLINE void glms_mat2_swap_row(mat2 mat, int row1, int row2)
|
||||
CGLM_INLINE float glms_mat2_rmc(vec2 r, mat2 m, vec2 c)
|
||||
CGLM_INLINE float glms_mat42_make(float * __restrict src);
|
||||
CGLM_INLINE mat2s glms_mat2_make(float * __restrict src);
|
||||
*/
|
||||
|
||||
#ifndef cglms_mat2_h
|
||||
@@ -44,8 +44,8 @@
|
||||
#define GLMS_MAT2_ZERO_INIT {GLM_MAT2_ZERO_INIT}
|
||||
|
||||
/* for C only */
|
||||
#define GLMS_MAT2_IDENTITY ((mat3s)GLMS_MAT2_IDENTITY_INIT)
|
||||
#define GLMS_MAT2_ZERO ((mat3s)GLMS_MAT2_ZERO_INIT)
|
||||
#define GLMS_MAT2_IDENTITY ((mat2s)GLMS_MAT2_IDENTITY_INIT)
|
||||
#define GLMS_MAT2_ZERO ((mat2s)GLMS_MAT2_ZERO_INIT)
|
||||
|
||||
/*!
|
||||
* @brief make given matrix identity. It is identical with below,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
GLMS_MAT2X3_ZERO
|
||||
|
||||
Functions:
|
||||
CGLM_INLINE float glms_mat2x3_make(float * __restrict src);
|
||||
CGLM_INLINE mat2x3s glms_mat2x3_make(float * __restrict src);
|
||||
*/
|
||||
|
||||
#ifndef cglms_mat2x3_h
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
GLMS_MAT2X4_ZERO
|
||||
|
||||
Functions:
|
||||
CGLM_INLINE float glms_mat2x4_make(float * __restrict src);
|
||||
CGLM_INLINE mat2x4s glms_mat2x4_make(float * __restrict src);
|
||||
*/
|
||||
|
||||
#ifndef cglms_mat2x4_h
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
CGLM_INLINE mat3s glms_mat3_swap_col(mat3s mat, int col1, int col2);
|
||||
CGLM_INLINE mat3s glms_mat3_swap_row(mat3s mat, int row1, int row2);
|
||||
CGLM_INLINE float glms_mat3_rmc(vec3s r, mat3s m, vec3s c);
|
||||
CGLM_INLINE float glms_mat3_make(float * __restrict src);
|
||||
CGLM_INLINE mat3s glms_mat3_make(float * __restrict src);
|
||||
*/
|
||||
|
||||
#ifndef cglms_mat3s_h
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
CGLM_INLINE mat4s glms_mat4_swap_col(mat4s mat, int col1, int col2);
|
||||
CGLM_INLINE mat4s glms_mat4_swap_row(mat4s mat, int row1, int row2);
|
||||
CGLM_INLINE float glms_mat4_rmc(vec4s r, mat4s m, vec4s c);
|
||||
CGLM_INLINE float glms_mat4_make(float * __restrict src);
|
||||
CGLM_INLINE mat4s glms_mat4_make(float * __restrict src);
|
||||
*/
|
||||
|
||||
#ifndef cglms_mat4s_h
|
||||
|
||||
Reference in New Issue
Block a user