mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Allow passing const float* to make functions.
This commit is contained in:
@@ -436,7 +436,7 @@ glm_mat3_rmc(vec3 r, mat3 m, vec3 c) {
|
||||
*/
|
||||
CGLM_INLINE
|
||||
void
|
||||
glm_mat3_make(float * __restrict src, mat3 dest) {
|
||||
glm_mat3_make(const float * __restrict src, mat3 dest) {
|
||||
dest[0][0] = src[0];
|
||||
dest[0][1] = src[1];
|
||||
dest[0][2] = src[2];
|
||||
|
||||
Reference in New Issue
Block a user