Commit Graph

284 Commits

Author SHA1 Message Date
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
23c0f5f660 couple more // comments 2025-01-18 20:11:00 +00:00
Marcin
4b0e7dadd6 vec2 swizzle 2025-01-18 20:10:59 +00:00
Marcin
8493a6c0d3 fix cglm_vec3/4_swizzle 2025-01-18 20:10:59 +00:00
Marcin
f50736aee7 vec2_step test 2025-01-18 20:10:59 +00:00
Marcin
4ca0c536af steps and stepr test 2025-01-18 20:10:58 +00:00
Marcin
6620adcc16 fix invalid types in vec2_frac/floor 2025-01-18 20:10:57 +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
43c9f84c8c test_perlin 2025-01-15 13:35:10 +00:00
Marcin
98f53c750d test boilerplate 2025-01-14 17:32:56 +00:00
Recep Aslantas
c12f318fab supress fast-math warns 2024-08-27 13:40:34 +03:00
Recep Aslantas
b0f35203f9 suppress warns 2024-08-27 12:32:58 +03:00
Recep Aslantas
2f619cdd6f newlines 2024-08-27 12:22:42 +03:00
Recep Aslantas
33e78ca2ad suppress warns about va-args 2024-08-27 12:13:28 +03:00
Recep Aslantas
48839a38a1 fix refract 2024-07-15 12:41:23 +03:00
Recep Aslantas
1796cc5ce2 Merge pull request #412 from recp/sse_only
separate SSE and SSE2
2024-04-01 17:52:06 +03:00
Recep Aslantas
568634a79e tests: dont test isinf == true on fast math 2024-04-01 16:48:58 +03:00
Recep Aslantas
c9c7941a72 tests: dont test isnan on fast math 2024-04-01 14:10:38 +03:00
Recep Aslantas
d8e933b5b1 Update test_project.h 2024-04-01 13:23:22 +03:00
Recep Aslantas
9ce0a3b625 tests: disable isnan check for min/max which may not work correctly especially in fast-math environment 2024-04-01 13:22:51 +03:00
Recep Aslantas
00d2e8a4cf suppress warnings 2024-04-01 01:46:25 +03:00
Recep Aslantas
28142b5912 Merge pull request #411 from EasyIP2023/bugfix/mat4x3-multiplication
mat4x3: fix multiplication functions
2024-03-31 23:44:00 +03:00
Recep Aslantas
f07d75c680 Merge pull request #410 from EasyIP2023/bugfix/mat4x2-multiplication
mat4x2: fix multiplication functions
2024-03-31 23:43:11 +03:00
Vincent Davis Jr
a0e3d3766f mat4x3: fix multiplication functions
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2024-03-31 14:43:30 -04:00
Vincent Davis Jr
1340b5d512 mat3x4: fix multiplication functions
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2024-03-31 13:43:39 -04:00
Vincent Davis Jr
3445f93fbc mat4x2: fix multiplication functions
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2024-03-31 13:40:41 -04:00
Recep Aslantas
929963c6eb Merge pull request #407 from EasyIP2023/bugfix/mat3x2-multiplication
mat3x2: fix multiplication functions
2024-03-31 13:40:58 +03:00
Recep Aslantas
25b33fab6b Merge pull request #405 from EasyIP2023/bugfix/mat2x4-mutli
mat2x4: fix multiplication functions
2024-03-31 13:40:45 +03:00
Recep Aslantas
c9adbaabd7 Merge pull request #403 from EasyIP2023/bugfix/mat2x3-multiplication
mat2x3: fix multiplication functions
2024-03-31 13:36:39 +03:00
Recep Aslantas
bf4c5b4e26 dont use I macro defined in standard 2024-03-31 13:24:50 +03:00
Vincent Davis Jr
2283c708c6 mat3x2: fix multiplication functions
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2024-03-31 00:23:39 -04: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
Vincent Davis Jr
050bc95264 mat2x3: fix multiplication functions
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2024-03-30 22:08:19 -04:00
Recep Aslantas
1de373a9bd normalize: norm == 0.0f to norm < FLT_EPSILON, improving handling of very small vectors to prevent instability and overflow 2024-03-25 02:22:46 +03:00
Recep Aslantas
6a7d03bafb suppress warnings 2024-03-25 02:17:03 +03:00
Recep Aslantas
aad5223da0 change signature of refraction to let caller know if refraction occurs or not 2024-03-24 06:31:29 +03:00
Recep Aslantas
ceaa54aef8 tests: test for ray, reflect, refract and faceforward 2024-03-22 23:44:43 +03:00
Recep Aslantas
c9e2b81e99 test: fix ivec2 and ivec3 comparison and suppress warnings 2024-02-24 06:55:45 +03:00
Recep Aslantas
ee18e58815 test: fix ivec2 and ivec3 comparison and suppress warnings 2024-02-24 06:50:07 +03:00
Vitaliy Klychkov
30845124b4 Add additional functions for ivec2 and ivec3 2024-01-27 13:11:04 +00:00