Allow passing const float* to make functions.

This commit is contained in:
Bruce Mitchener
2024-03-18 19:49:50 +07:00
parent 838c5078b7
commit 182c28faf8
65 changed files with 80 additions and 80 deletions

View File

@@ -708,7 +708,7 @@ glm_vec2_lerp(vec2 from, vec2 to, float t, vec2 dest) {
*/
CGLM_INLINE
void
glm_vec2_make(float * __restrict src, vec2 dest) {
glm_vec2_make(const float * __restrict src, vec2 dest) {
dest[0] = src[0]; dest[1] = src[1];
}