Summary
New ✨
-
Adds spacial partition with
Tree
andCube
.
This has experimentally, and demonstrably improved performance by over 5x 🚀 -
Visually debug with
Object3D.createDebugMaterial
andCube
,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
- v4.0.0 merge by @tomaspietravallo in #16
Full Changelog: v3.0.1...v4.0.0