Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

three-mesh-bvh

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-mesh-bvh - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [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.
## [0.1.1] - 2019-03-16

@@ -9,0 +13,0 @@ ### Added

2

package.json
{
"name": "three-mesh-bvh",
"version": "0.1.1",
"version": "0.1.2",
"description": "A BVH implementation to speed up raycasting against three.js meshes.",

@@ -5,0 +5,0 @@ "module": "src/index.js",

@@ -157,5 +157,7 @@ import { Triangle, Vector3, Line3, Sphere } from 'three';

// TODO: This will not result in a point that lies on
// the intersection line of the triangles
if ( target1 || target2 ) {
this.getMidPoint( point );
this.getMidpoint( point );
other.closestPointToPoint( point, point2 );

@@ -162,0 +164,0 @@ this.closestPointToPoint( point2, point );

@@ -666,5 +666,7 @@ (function (global, factory) {

// TODO: This will not result in a point that lies on
// the intersection line of the triangles
if ( target1 || target2 ) {
this.getMidPoint( point );
this.getMidpoint( point );
other.closestPointToPoint( point, point2 );

@@ -671,0 +673,0 @@ this.closestPointToPoint( point2, point );

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc