Socket
Socket
Sign inDemoInstall

@shapediver/viewer.shared.math

Package Overview
Dependencies
Maintainers
5
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.shared.math - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

2

dist/Triangle.d.ts

@@ -10,4 +10,4 @@ import { mat4, vec3 } from 'gl-matrix';

clone(): IGeometry;
intersect(origin: vec3, direction: vec3): number | null;
intersect(origin: vec3, direction: vec3): vec3 | null;
}
//# sourceMappingURL=Triangle.d.ts.map

@@ -38,3 +38,3 @@ "use strict";

const t = f * gl_matrix_1.vec3.dot(edge2, q);
return t > EPSILON ? t : null;
return t > EPSILON ? gl_matrix_1.vec3.add(gl_matrix_1.vec3.create(), gl_matrix_1.vec3.multiply(gl_matrix_1.vec3.create(), direction, gl_matrix_1.vec3.fromValues(t, t, t)), origin) : null;
}

@@ -41,0 +41,0 @@ }

{
"name": "@shapediver/viewer.shared.math",
"version": "1.6.5",
"version": "1.6.6",
"description": "",

@@ -39,7 +39,7 @@ "keywords": [],

"dependencies": {
"@shapediver/viewer.shared.services": "^1.6.5",
"@shapediver/viewer.shared.services": "^1.6.6",
"gl-matrix": "3.3.0",
"tsyringe": "^4.5.0"
},
"gitHead": "1463353b90fb0b93c53a1a70f02332588a7e1cb0"
"gitHead": "c609455a59e94ede70b624764205ac14ae95004d"
}

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