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

@@ -1196,7 +1196,7 @@ glm_normalize_to(vec3 v, vec3 dest) {
*/
CGLM_INLINE
void
glm_vec3_make(float * __restrict src, vec3 dest) {
glm_vec3_make(const float * __restrict src, vec3 dest) {
dest[0] = src[0];
dest[1] = src[1];
dest[2] = src[2];