mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Fix for linux warning.
This commit is contained in:
parent
dc6e1afae6
commit
2c6b0e5c95
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ int packOrientationQuatToSixBytes(unsigned char* buffer, const glm::quat& quatIn
|
|||
// ensure that the sign of the dropped component is always negative.
|
||||
glm::quat q = quatInput[largestComponent] > 0 ? -quatInput : quatInput;
|
||||
|
||||
const float MAGNITUDE = 1.0f / sqrt(2.0f);
|
||||
const float MAGNITUDE = 1.0f / sqrtf(2.0f);
|
||||
const uint32_t NUM_BITS_PER_COMPONENT = 15;
|
||||
const uint32_t RANGE = (1 << NUM_BITS_PER_COMPONENT) - 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue