gltf-bounding-box
gltf-bounding-box copied to clipboard
Transformations are not applied if they are not in the matrix field
If a gltf file contains transformations in the fields scaling, rotation, and translation, these are not considered in the computation.
This happens because in the function getParentNodesMatrices, only the field matrix is checked.
However, the GLTF specifications says that also three other fields are present (for T, R, and S), which can contain the transformations separately.