New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

three-mesh-bvh

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-mesh-bvh - npm Package Versions

0.3.0

Diff
gkjohnson
published 0.3.0 •

Changelog

Source

[0.3.0] - 2020-12-01

Added

  • generateAsync function in the /src/worker folder to help generate BVHs asynchronously with WebWorkers.

Changed

  • three.js version to use v0.123.0, change Matrix4.getInverse to Matrix4.invert.
gkjohnson
published 0.2.0 •

Changelog

Source

[0.2.0] - 2020-02-07

Added

  • MeshBVH.serialize and deserialize functions so the bvh can be computed and transferred from a webworker.
  • lazyGeneration (defaults to true) option for faster tree initialization.
  • Support for a buffer-packed tree if lazyGeneration is false or a tree has been deserialized for a more smaller memory footprint.

Changed

  • CENTER tree computation to improve raycast performance and create more balanced trees.
gkjohnson
published 0.1.5 •

Changelog

Source

[0.1.5] - 2020-01-03

Fixed

  • Uglify warning for inline defined functions.
gkjohnson
published 0.1.4 •

Changelog

Source

[0.1.4] - 2019-08-31

Changed

  • Changed three.js peer dependency version from ^ to >= to prevent warnings.
gkjohnson
published 0.1.3 •

Changelog

Source

[0.1.3] - 2019-05-24

Added

  • Use the BufferGeometry bounding box if it exists and set it if it does not.

Changed

  • Use the center of the triangles bounding box instead of the average of the vertices as the triangles center when binning the polygons.
gkjohnson
published 0.1.2 •

Changelog

Source

[0.1.2] - 2019-03-17

Fixed

  • Bug where closestPointToGeometry would throw an error when target vectors were provided because a function name was misspelled.
gkjohnson
published 0.1.1 •

Changelog

Source

[0.1.1] - 2019-03-16

Added

  • API for performing intersecting boxes, spheres, and geometry.
  • API for checking the distance to geometry and points.

Fixed

  • Fixed issue where an index buffer of the incorrect type was created if there were more than 2^16 vertices.
  • Fixed MeshBVHVisualizer not visualizing all the groups in the bvh.
gkjohnson
published 0.1.0 •

Changelog

Source

[0.1.0] - 2019-02-28

Added

  • Error conditions when using InterleavedAttributeBuffers for both index and position geometry attributes.
  • The geometry index attribute is modified when building the MeshBVH. And index attribute is created on geometry if it does not exist.

Fixed

  • Fix the bounds tree not respecting groups
gkjohnson
published 0.0.2 •

Changelog

Source

[0.0.2] - 2019-01-05

Added

  • Add included files array to package.json.