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

@@ -685,7 +685,7 @@ glms_vec2_(lerp)(vec2s from, vec2s to, float t) {
*/
CGLM_INLINE
vec2s
glms_vec2_(make)(float * __restrict src) {
glms_vec2_(make)(const float * __restrict src) {
vec2s dest;
glm_vec2_make(src, dest.raw);
return dest;