mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Compression: more obvious TenBitsMax representation
This commit is contained in:
parent
483006eadc
commit
7e28e4ea02
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user