-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It omits the translate for Y and Z coordinates.
The bug is in Unsafe.toFloatArray() — loop condition i < ret.length should be d <
ret.length (line 159). i increments by 4 (byte offset) while ret.length is the
float count (e.g. 3 for XYZ), so only the first component gets the quantization
offset applied.
// Bug (line 159):
for (int i = 0, d = 0; i < ret.length; i += 4, d++)
// Fix:
for (int i = 0, d = 0; d < ret.length; i += 4, d++)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels