gltf-bounding-box
gltf-bounding-box copied to clipboard
Computes the global bounding box of a gltf model
This PR fixes #12. It contains also some tests for glb2 files. I could not test gltf1 files because I don't have a way to create them, but the implementation...
This PR update all dependencies. Main changes are caused by * Babel 6 → Babel 7 * Gulp 3 → Gulp 4
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...
According to the code, I found that when URI was not coded in base64, it could not continue to work. the err: `gltf-bounding-box\dist\index.js:17335 if (!buffer.uri.startsWith("data:")) { `