New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eturnity/eturnity_maths

Package Overview
Dependencies
Maintainers
5
Versions
443
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eturnity/eturnity_maths - npm Package Compare versions

Comparing version 6.37.0-EPDM-7379.1 to 6.37.0-EPDM-7379.2

2

package.json
{
"name": "@eturnity/eturnity_maths",
"version": "6.37.0-EPDM-7379.1",
"version": "6.37.0-EPDM-7379.2",
"author": "Eturnity Team",

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

@@ -13,3 +13,3 @@ import {

normalizeVector} from './vector'
import {inverse3x3matrix} from './matrix'
import {inverse3x3matrix,multiplyMatrices} from './matrix'
import {Point} from './objects/Point'

@@ -100,14 +100,13 @@ import {Line} from './objects/Line'

let m=[
[u.x,u.y,u.z],
[v.x,v.y,v.z],
[w.x,w.y,w.z]
[u.x,v.x,w.x],
[u.y,v.y,w.y],
[u.z,v.z,w.z]
]
let mInv=inverse3x3matrix(m)
console.log(multiplyMatrices(m,mInv))
let AB=substractVector(B,A)
let [t1,t2,t3] = multiplyMatrices(mInv,AB)
let [t1,t2,t3] = multiplyMatrices(mInv,[[AB.x],[AB.y],[AB.z]])
let M=addVector(A,multiplyVector(t1,u))
let N=addVector(B,multiplyVector(t2,v))
let distance=getDistanceBetween3DPoints(M,N)
return {M,N,w,distance}
return {m,mInv,M,N,A,B,u,v,w,distance,t1,t2,t3}

@@ -114,0 +113,0 @@ }

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