Marcin
4b0e7dadd6
vec2 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
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
c48befca37
vec2_fract test
2025-01-18 12:57:32 +00:00
Recep Aslantas
2f619cdd6f
newlines
2024-08-27 12:22:42 +03:00
Recep Aslantas
48839a38a1
fix refract
2024-07-15 12:41:23 +03:00
Recep Aslantas
00d2e8a4cf
suppress warnings
2024-04-01 01:46:25 +03:00
Recep Aslantas
bf4c5b4e26
dont use I macro defined in standard
2024-03-31 13:24:50 +03: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
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
BeeverFeever
4c4a69ddfe
Should be all
2023-12-11 01:08:10 +11: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
Vincent Davis Jr
b3de85a14e
vec2: add new function glm_vec2_make
...
Just a copy of glm_vec2, but with the
word _make suffixed at the end.
Function takes in a float array array must be
at least of size 2 and converts it into
a 2D vector.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-07-02 12:41:23 -05:00
duarm
a0f01c5ed1
new abs functions for vec2, ivec2, ivec3, ivec4
2022-11-18 14:28:39 -03:00
Recep Aslantas
2238fd127c
win: suppress warnings for tests
2022-08-23 18:01:05 +03:00
Maxim Kasyanenko
522b18bda9
Add tests
2021-11-08 17:53:39 -08:00
Recep Aslantas
43ae3b332a
add tests for vec2 and its call version
2020-02-24 10:06:19 +03:00