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:
@@ -574,7 +574,7 @@ glms_quat_(rotate_atm)(versors q, vec3s pivot) {
|
||||
*/
|
||||
CGLM_INLINE
|
||||
versors
|
||||
glms_quat_(make)(float * __restrict src) {
|
||||
glms_quat_(make)(const float * __restrict src) {
|
||||
versors dest;
|
||||
glm_quat_make(src, dest.raw);
|
||||
return dest;
|
||||
|
||||
Reference in New Issue
Block a user