Compression: more obvious TenBitsMax representation

This commit is contained in:
mischa 2023-07-19 12:59:51 +08:00
parent 483006eadc
commit 7e28e4ea02

View File

@ -174,7 +174,7 @@ public static int LargestAbsoluteComponentIndex(Vector4 value, out float largest
const float QuaternionMinRange = -0.707107f;
const float QuaternionMaxRange = 0.707107f;
const ushort TenBitsMax = 0x3FF;
const ushort TenBitsMax = 0b11_1111_1111;
// helper function to access 'nth' component of quaternion
[MethodImpl(MethodImplOptions.AggressiveInlining)]