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
68
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.8.2 to 0.8.3

4

package.json
{
"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

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