Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@tomaspietravallo tomaspietravallo released this 30 Jun 01:20
· 5 commits to main since this release
9b40353

Summary

New ✨

  • Adds spacial partition with Tree and Cube.
    This has experimentally, and demonstrably improved performance by over 5x 🚀

  • Visually debug with Object3D.createDebugMaterial and Cube, Tree.debugVisualize

Object3D

  • Generally improves Object3D class
  • Object3D body is now fully detached from computations on its values

Vector

  • Create a random Vector with defined magnitude using Vector.random3D(mag)
  • Fixes some division bugs
  • Adds Vector.applyQuaternion

World

  • Adds support for Async load event
  • Values persist in World.snapshot after removing from calling removeFromSnapshot on the keys
  • Adds support for World.mode reliant on the screen size

Other

  • Improves testing
  • Fixes Quaternion snapshot bug
  • Adds minification volts.min.js

Full details on the changes