Skip to content

Commit

Permalink
Merge pull request #16 from tomaspietravallo/v4.0.0
Browse files Browse the repository at this point in the history
v4.0.0 merge.

- Improves performance
- Adds support for Async load event
- Improves Object3D class
- Adds spacial partition with Tree and Cube
- Visually debug with Object3D.createDebugMaterial and Cube, Tree.debugVisualize
- Improves testing
- Adds Vector.applyQuaternion
- Create a random Vector with defined magnitude using Vector.random3D(mag)
- Fixes some division bugs
- Fixes Quaternion snapshot bug
- Values persist in World.snapshot after removing from calling removeFromSnapshot on the keys
- Adds support for World.mode reliant on the screen size
- Adds minification volts.min.js
  • Loading branch information
tomaspietravallo authored Jun 30, 2022
2 parents d104588 + f0f5c3d commit 9b40353
Show file tree
Hide file tree
Showing 24 changed files with 1,206 additions and 622 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Files to ignore
# https://gist.github.com/adcreare/00a10f389841dd4c97197608c9b33a7f
# npm version [#]-beta.[#]
# npm version [#].[#].[#]
# Use `npm publish --access=public --tag latest ./ --dry-run` to check which files will be published
/coverage
/node_modules
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ Check the [issues](https://github.com/tomaspietravallo/sparkar-volts/issues) to

All proceeds will be split amongst all major contributors

[![](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate?hosted_button_id=LEXFVQET96N2Y)
[![](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate?hosted_button_id=LEXFVQET96N2Y)
2 changes: 1 addition & 1 deletion coverage/badge-branches.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion coverage/badge-functions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion coverage/badge-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion coverage/badge-statements.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion coverage/badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{"total": {"lines":{"total":697,"covered":669,"skipped":0,"pct":95.98},"statements":{"total":798,"covered":750,"skipped":0,"pct":93.98},"functions":{"total":186,"covered":179,"skipped":0,"pct":96.24},"branches":{"total":443,"covered":342,"skipped":0,"pct":77.2}}
,"/Users/tomaspietravallo/Documents/GitHub/sparkar-volts/volts.ts": {"lines":{"total":697,"covered":669,"skipped":0,"pct":95.98},"functions":{"total":186,"covered":179,"skipped":0,"pct":96.24},"statements":{"total":798,"covered":750,"skipped":0,"pct":93.98},"branches":{"total":443,"covered":342,"skipped":0,"pct":77.2}}
{"total": {"lines":{"total":886,"covered":818,"skipped":0,"pct":92.33},"statements":{"total":953,"covered":880,"skipped":0,"pct":92.34},"functions":{"total":203,"covered":192,"skipped":0,"pct":94.58},"branches":{"total":558,"covered":443,"skipped":0,"pct":79.39}}
,"/Users/tomaspietravallo/Documents/GitHub/sparkar-volts/volts.ts": {"lines":{"total":886,"covered":818,"skipped":0,"pct":92.33},"functions":{"total":203,"covered":192,"skipped":0,"pct":94.58},"statements":{"total":953,"covered":880,"skipped":0,"pct":92.34},"branches":{"total":558,"covered":443,"skipped":0,"pct":79.39}}
}
Loading

0 comments on commit 9b40353

Please sign in to comment.