mirror of
https://github.com/recp/cglm.git
synced 2026-11-18 10:17:13 -06:00
suppress warnings: C4244: 'function': conversion from 'int' to 'float'
This commit is contained in:
1 parent
b7e4c96738
commit
0e4201b816
1 file changed
+1
-1
@@ -160,7 +160,7 @@ glm_ivec3_norm2(ivec3 v) {
|
||||
CGLM_INLINE
|
||||
int
|
||||
glm_ivec3_norm(ivec3 v) {
|
||||
return (int)sqrtf(glm_ivec3_norm2(v));
|
||||
return (int)sqrtf((float)glm_ivec3_norm2(v));
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user