three-mesh-bvh
Advanced tools
Comparing version 0.8.2 to 0.8.3
{ | ||
"name": "three-mesh-bvh", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "A BVH implementation to speed up raycasting against three.js meshes.", | ||
@@ -79,3 +79,3 @@ "module": "src/index.js", | ||
"stats.js": "^0.17.0", | ||
"three": "^0.166.1", | ||
"three": "^0.170.0", | ||
"typescript": "^5.1.3", | ||
@@ -82,0 +82,0 @@ "vite": "^5.2.13" |
@@ -33,5 +33,6 @@ import { Ray, Matrix4, Mesh, Vector3, Sphere, BatchedMesh, REVISION } from 'three'; | ||
// TODO: remove use of geometry info, instance info when r170 is minimum version | ||
const boundsTrees = this.boundsTrees; | ||
const drawInfo = this._drawInfo; | ||
const drawRanges = this._drawRanges; | ||
const drawInfo = this._drawInfo || this._instanceInfo; | ||
const drawRanges = this._drawRanges || this._geometryInfo; | ||
const matrixWorld = this.matrixWorld; | ||
@@ -188,3 +189,3 @@ | ||
const drawRanges = this._drawRanges; | ||
const drawRanges = this._drawRanges || this._geometryInfo; | ||
const geometryCount = this._geometryCount; | ||
@@ -191,0 +192,0 @@ if ( ! this.boundsTrees ) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1615177
290961
18586
3