three-mesh-bvh
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3270
276008