Commit Graph
13 Commits
Author SHA1 Message Date
Recep Aslantas 11d34be968 merge pull request #504 from fhgffy/fix/glm-spin-translation-502
affine: preserve translation in glm_spin
2026-10-25 00:02:24 +03:00
snowyukitty 8ff4f978c3 Fix non-unit quaternion rotation matrices 2026-10-10 03:59:20 +09:00
fhgffy d7b1e02778 affine: preserve translation in glm_spin 2026-10-04 20:31:02 +08:00
Vincent Davis Jr 3d292c3a2e add new matrix mat4x3
Initial function being

glm_mat4x3_make

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-17 22:57:52 -04:00
Vincent Davis Jr 2df26c0ecf add new matrix mat4x2
Initial function being

glm_mat4x2_make

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-16 20:19:25 -04:00
Vincent Davis Jr e09cf11f1c add new matrix mat3x4
Initial function being

glm_mat3x4_make

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-16 15:41:36 -04:00
Vincent Davis Jr 4e44e74d48 add new matrix mat3x2
Initial function being

glm_mat3x2_make

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-15 18:48:50 -04:00
Vincent Davis Jr dd6a0b3175 add missing mat2x# test and mat2x3 window headers
Missing tests where
	* MACRO_GLM_MAT2X3_ZERO_INIT
	* MACRO_GLM_MAT2X3_ZERO
	* mat2x3s_zero_init
	* mat2x3s_zero
	* mat2x4s_zero_init
	* mat2x4s_zero

Commit:
	* removes (mat2x3) from
	  ((mat2x3)GLM_MAT2X3_ZERO_INIT) to fix
	  error: array initialized from non-constant array expression
	* removes test_assert_mat2x3_eq_zero
	  from test/src/test_struct.c
	* adds TEST_IMPL(mat2x3s_zero) to
	  test/src/test_struct.c

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-15 16:16:03 -04:00
Vincent Davis Jr fe7471e8f8 add new matrix mat2x4
Initial function being

glm_mat2x4_make

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-15 14:32:48 -04:00
Vincent Davis Jr 6317ed90e7 add new matrix mat2x3
Initial function being

glm_mat2x3_make

Signed-off-by: Vincent Davis Jr <[email protected]>
2023-07-14 18:57:45 -04:00
Recep Aslantas 099522ada3 fix LICENSE alignments 2020-05-02 22:32:57 +03:00
Recep Aslantas f53fd45026 Update test_struct.c 2020-01-15 16:44:51 +03:00
Carsten Hartenfels b9aa14d25e Add a test for struct type initializers
To make sure that they all work properly and none of them trigger
warnings.
2019-11-24 16:02:12 -05:00