pex-gl / pex-renderer

Physically based renderer (PBR) and scene graph for PEX.
https://pex-gl.github.io/pex-renderer/examples/index.html
MIT License
237 stars 16 forks source link

Check for offsets length before computing geometry.bounds for instanced geometry #386

Closed dmnsgn closed 3 months ago

dmnsgn commented 3 months ago

https://github.com/pex-gl/pex-renderer/blob/4a7239df1e80ac54e0994638083927c710dab61c/systems/geometry.js#L54C7-L55C1