Commit Graph
11 Commits
Author SHA1 Message Date
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
Recep Aslantas 2f619cdd6f newlines 2024-08-27 12:22:42 +03:00
Vitaliy Klychkov 30845124b4 Add additional functions for ivec2 and ivec3 2024-01-27 13:11:04 +00:00
BeeverFeever 921ab6640b Implement -= and += functions for ivecs 2023-12-25 12:51:10 +11:00
Recep Aslantas 126f809dae fix glm_ivec2|3_fill and glm_ivec2|3_eq params 2023-09-05 20:19:33 +03:00
duarm 9d0c9fdb87 adding ivec2, ivec3, ivec4 prints, eqv, eq and fill, documentation fixes 2023-09-04 20:07:37 -03:00
duarm a0f01c5ed1 new abs functions for vec2, ivec2, ivec3, ivec4 2022-11-18 14:28:39 -03:00
Christopher Lang 1b3e2fdaec Improve ivec[2|3|4] documentation comments 2022-05-20 15:24:36 +01:00
Christopher Lang 7a19b8f8a3 Fix glmc_ivec3 naming 2022-05-19 16:52:10 +01:00
Christopher Lang 65409bcda1 Add ivec3 functions 2022-05-18 18:05:17 +01:00
Christopher Lang d582146d9a Add ivec3 and ivec4 files 2022-05-17 16:04:47 +01:00