Summary
When upgrading the packages (NGL and Three), some internal behaviors around updating the bounding box for buffers changed and caused previously ignored errors to appear.
- Versions currently used:
- NGL
v2.0.0-dev.39 (forked)
- ThreeJS
v0.118.0
- Versions targeted:
- NGL
v2.4.0
- ThreeJS
v0.158.0 (version required by NGL as of v2.3.0)
Update Summary Notes
Changes referenced: https://github.com/MarkH817/EternaJS/compare/90571c7..feature/update-ngl-threejs
Summary
When upgrading the packages (NGL and Three), some internal behaviors around updating the bounding box for buffers changed and caused previously ignored errors to appear.
v2.0.0-dev.39 (forked)v0.118.0v2.4.0v0.158.0(version required by NGL as ofv2.3.0)Update Summary Notes
Changes referenced: https://github.com/MarkH817/EternaJS/compare/90571c7..feature/update-ngl-threejs
Successful changes
Puzzle
13145824highlighted an issue with a pair's position info being missing.THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.Viewed puzzle
11212579for simpler testingTHREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.Uncaught TypeError: can't access property "picking", o.userData.buffer is undefined