Artemii Miasoedov
e96b6a382d
Added tests for 2D affine post transformations (translate, rotate, scale)
2025-02-16 15:50:53 +03:00
Recep Aslantas
e8c791e91e
Merge pull request #441 from MarcinKonowalczyk/perlin
...
Implement Perlin noise
2025-01-22 23:23:03 +03:00
duarm
f815918a74
rename struct/aabb2d.h functions to match aabb2d.h, add tests
2025-01-20 13:29:21 -03:00
Marcin
4ca0c536af
steps and stepr test
2025-01-18 20:10:58 +00:00
Marcin
a986a4d741
add missing floor tests
2025-01-18 20:10:57 +00:00
Marcin
32e7d5cceb
mods test
2025-01-18 20:10:57 +00:00
Marcin
200b0875ba
vec2_floor test
2025-01-18 12:57:32 +00:00
Marcin
2890472a0b
add missing test entry for vec2_abs
2025-01-18 12:57:32 +00:00
Marcin
c48befca37
vec2_fract test
2025-01-18 12:57:32 +00:00
Marcin
52753672bb
vec4_fract test
2025-01-18 12:57:31 +00:00
Marcin
e66f2f3df4
vec3_floor test
2025-01-18 12:57:31 +00:00
Marcin
9085ed020a
glm_perlin_vec2 test
2025-01-17 20:22:00 +00:00
Marcin
98ab6fcbe0
glm_perlin_vec3 test
2025-01-17 16:38:19 +00:00
Marcin
a0d8803f76
perlin.h -> noise.h
2025-01-15 14:05:08 +00:00
Marcin
98f53c750d
test boilerplate
2025-01-14 17:32:56 +00:00
Vincent Davis Jr
46864ba2f7
mat2x4: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2024-03-30 22:22:34 -04:00
Recep Aslantas
ceaa54aef8
tests: test for ray, reflect, refract and faceforward
2024-03-22 23:44:43 +03:00
Vitaliy Klychkov
30845124b4
Add additional functions for ivec2 and ivec3
2024-01-27 13:11:04 +00:00
Recep Aslantas
3a2a26e5a4
Merge pull request #377 from telephone001/euler_to_quat_lh
2023-12-30 21:31:28 +03:00
John Choi
fa6244c42b
added tests for euler_to_quat_lh. Currently they don't have any euler->mat4->quat tests because there is no left handed version of those. But I could try to find a way to change it
2023-12-28 10:31:14 -06:00
Recep Aslantas
040926999a
Merge pull request #369 from telephone001/master
...
euler to quat functions
2023-12-25 10:42:04 +03:00
John Choi
d820410435
Merge remote-tracking branch 'refs/remotes/origin/master'
2023-12-24 23:59:34 -06:00
John Choi
39c0c1e784
added handed folder and also made rh tests for the euler->quat functions. Still deciding on what to name the macro for lefthanded stuff
2023-12-24 23:58:29 -06:00
BeeverFeever
4c9b32324d
Add tests for ivec -= and += functions
2023-12-25 12:51:33 +11:00
telephone001.mdl
46aaf250fa
Merge branch 'master' into master
2023-12-14 14:19:22 -06:00
John Choi
732a403112
changed last parameter to be destination and also removed the euler->mat4->quat test.
2023-12-13 08:57:10 -06:00
Recep Aslantas
b45657f673
Update tests.h
2023-12-10 20:39:52 +03:00
telephone001.mdl
e24675c6e0
Merge branch 'recp:master' into master
2023-12-10 11:38:51 -06:00
BeeverFeever
4c4a69ddfe
Should be all
2023-12-11 01:08:10 +11:00
John Choi
036fd4848b
moved all my stuff to euler because it fits there better. Also, had to move my tests into a single euler test because it wouldn't work outside that one test. Maybe later I will create test_euler.h like how test_quat.h works
2023-12-09 00:38:38 -06:00
John Choi
c5694c5c17
made all the functions. I have miscalculated some stuff and am currently trying to test them. I have created all the testing functions as well
2023-12-08 00:26:33 -06:00
John Choi
d67ac97323
got the euler to quat xyz working and got the tests to pass
2023-12-07 12:21:55 -06:00
BeeverFeever
f8b6573de8
Write tests for new functions
2023-12-04 23:28:56 +11:00
duarm
9484155c98
adding vec2_center
2023-10-11 16:51:14 -03:00
duarm
9d0c9fdb87
adding ivec2, ivec3, ivec4 prints, eqv, eq and fill, documentation fixes
2023-09-04 20:07:37 -03:00
Vincent Davis Jr
da51741c50
test: add missing mat4x3 tests
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-08-06 14:12:46 -04:00
Vincent Davis Jr
a5d8e61c2b
test: add missing mat4x2 tests
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-08-06 14:12:26 -04:00
Vincent Davis Jr
eece0b7bc9
test: add missing mat3x2 tests
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-08-06 14:12:26 -04:00
Vincent Davis Jr
37d20f7da8
test: add missing mat2x4 tests
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-08-06 14:12:26 -04:00
Vincent Davis Jr
006e4ffbdf
test: add missing mat2x3 tests
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-08-06 14:12:26 -04:00
Vincent Davis Jr
3d292c3a2e
add new matrix mat4x3
...
Initial function being
glm_mat4x3_make
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
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 <vince@underview.tech >
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 <vince@underview.tech >
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 <vince@underview.tech >
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 <vince@underview.tech >
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 <vince@underview.tech >
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 <vince@underview.tech >
2023-07-14 18:57:45 -04:00
Recep Aslantas
8e2074c274
Merge branch 'master' into feature/glm_vec2_make
2023-07-02 22:03:40 +03:00
Recep Aslantas
b8d565c6b6
Merge branch 'master' into feature/glm_vec4_make
2023-07-02 22:02:10 +03:00
Vincent Davis Jr
5833d1bf44
vec4: add new function glm_vec4_make
...
Function takes in a float array. Array must be
at least of size 4 and converts it into
a 4D vector.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-02 13:54:10 -05:00