Daniel Pirch
44b6d7f332
add const to function parameters where possible
...
- Adds `const` qualifiers to read-only pointer and array parameters.
- Multi-dimentional array parameters use the `CGLM_CONST` macro instead,
because for these `const` only works in C++ and C23 (with N2607).
- For `glm_mat4_mulN`, the matrices are not const-qualified although they
are read-only, but changing the pointer type would require changing
application code.
- Incorrect incorrect in/out in doc comments was fixed for
`glm_ray_sphere`, `glm_swapf`, `glm_quat_rotate_at`.
2026-10-25 23:24:28 +01:00
Ali Emre Gülcü
0dc17e5d47
Implement default infinite perspective projection matrix creation functions
2026-02-10 16:35:50 +03:00
Ali Emre Gülcü
d6c6b4c542
Implement infinite perspective projection matrix creation functions
2026-02-10 12:30:11 +03:00
tayoky
3aad5823ca
add glm_vecx_swap functions
2025-11-15 10:39:14 +01:00
Ali Emre Gülcü
47e5d48749
Add missing glmc_perspective_resize_**_**() call/clipspace functions
2025-11-05 09:56:28 +03:00
Vincent Davis Jr
5d530cd8e0
mat2: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-11 00:13:54 -04:00
Recep Aslantas
5fde20d65c
build texture transform matrix helper
2025-04-05 13:32:47 +03:00
Recep Aslantas
ed7a658637
Merge pull request #465 from under-view/feature/mat4x3-tables
...
mat4x3: add tables to docs & fix comments
2025-04-04 22:57:01 +03:00
Vincent Davis Jr
bdca98ba48
mat4x2: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-04 13:29:10 -04:00
Vincent Davis Jr
b33e29d50f
mat4x3: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-04 13:22:27 -04:00
Recep Aslantas
214842db27
Merge pull request #462 from under-view/feature/mat3x4-tables
...
mat3x4: add tables to docs & fix comments
2025-04-03 21:42:27 +03:00
Recep Aslantas
60e4d6c188
Merge pull request #461 from under-view/feature/mat3x2-tables
...
mat3x2: add tables to docs & fix comments
2025-04-03 21:41:44 +03:00
Recep Aslantas
5063d4b2b0
Merge pull request #460 from under-view/feature/mat2x4-tables
...
mat2x4: add tables to docs & fix comments
2025-04-03 21:40:57 +03:00
Vincent Davis Jr
b694c97204
mat2x4: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-03 11:30:34 -04:00
Vincent Davis Jr
4791fe3f24
mat3x4: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-03 11:27:00 -04:00
Vincent Davis Jr
b64067a94d
mat3x2: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-03 01:22:55 -04:00
Vincent Davis Jr
43363e8c43
mat2x3: add tables to docs & fix comments
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2025-04-02 19:59:20 -04:00
Marcin
fd3b21f5d7
newline
2025-03-18 13:24:28 +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
5cffcf74c4
missing glmc_vec2_stepr
2025-01-18 20:10:58 +00:00
Marcin
8e69157052
missing vec4 steps and stepr
2025-01-18 20:10:58 +00:00
Marcin
6c0e3e9460
deprecate step_uni in favour of steps
...
This seems to be the newer naming system
2025-01-18 20:10:58 +00:00
Marcin
9a1206f3f1
steps and stepr boilerplate
2025-01-18 20:10:58 +00:00
Marcin
e14c730d5c
mods boilerplate
2025-01-18 20:10:57 +00:00
Marcin
66d51e5771
double spaces in other files
2025-01-18 13:19:29 +00:00
Marcin
9a25fab6f0
vec2_floor boilerplate
2025-01-18 12:57:32 +00:00
Marcin
3c9eecd0be
vec2_fract boilerplate
2025-01-18 12:57:32 +00:00
Marcin
68215526cf
vec4_floor boilerplate
2025-01-18 12:57:31 +00:00
Marcin
967c9e0a09
vec3_floor boilerplate
2025-01-18 12:57:31 +00:00
Marcin
1377a94a17
glm_perlin_vec2 boilerplate
2025-01-17 20:21:59 +00:00
Marcin
f0529646b2
glm_perlin_vec3 boilerplate
2025-01-17 16:38:19 +00:00
Marcin
a0d8803f76
perlin.h -> noise.h
2025-01-15 14:05:08 +00:00
Marcin
3e52d90ecb
boilerplate
2025-01-14 17:32:46 +00:00
Recep Aslantas
2f619cdd6f
newlines
2024-08-27 12:22:42 +03:00
John Choi
cd5ed1f4c4
added quat_slerp_longest
2024-05-10 22:32:25 -05: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 <[email protected] >
2024-03-31 14:43:30 -04:00
Vincent Davis Jr
1340b5d512
mat3x4: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2024-03-31 13:43:39 -04:00
Vincent Davis Jr
3445f93fbc
mat4x2: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <[email protected] >
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
Vincent Davis Jr
2283c708c6
mat3x2: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2024-03-31 00:23:39 -04:00
Vincent Davis Jr
46864ba2f7
mat2x4: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2024-03-30 22:22:34 -04:00
Vincent Davis Jr
050bc95264
mat2x3: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <[email protected] >
2024-03-30 22:08:19 -04:00
Recep Aslantas
4c872238d9
dont use I macro defined in standard
2024-03-31 04:22:42 +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
2b78f9ab47
refract
2024-03-22 00:18:55 +03:00