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
0
Versions
434
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 7.37.0-EPDM-12170.1 to 7.37.0-qa-25.0

2

package.json
{
"name": "@eturnity/eturnity_maths",
"version": "7.37.0-EPDM-12170.1",
"version": "7.37.0-qa-25.0",
"author": "Eturnity Team",

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

@@ -678,14 +678,2 @@ import { mmTolerance, polygonCloseTolerance } from './config'

}
export function getNormalVectorFromFlatOutline(outline) {
const ABC = get3pointNotAlignedFromOutline(outline)
if (!ABC) {
return null
}
let normalVector = getNormalVectorFrom3Points(...ABC)
if (normalVector.z < 0) {
normalVector = multiplyVector(-1, normalVector)
}
normalVector = normalizeVector(normalVector)
return normalVector
}
export function getNormalVectortoEdgeTowardPolygon(k, outline) {

@@ -692,0 +680,0 @@ const A = outline[k]

@@ -12,2 +12,1 @@ export * from './coords'

export * from './stats'
export * from './irradiance'

@@ -170,11 +170,8 @@ import { translate2D, getDegree } from '../geometry'

})
if (this.layer == 'moduleField' && this.data && this.data.modules) {
this.data.modules.forEach((module) => {
module.outline.forEach((p) => {
p[0] += vectorInMm.x
p[1] += vectorInMm.y
})
if (this.layer == 'moduleField') {
this.trimedOutline = this.trimedOutline.map((point) => {
return addVector(point, vectorInMm)
})
}
updateComputedGeometryPolygon(this)
}

@@ -185,2 +182,5 @@ translateOffset(newPositionOffset, center = { x: 0, y: 0 }) {

}
resetOffset() {
this.positionOffset = { x: 0, y: 0, z: 0 }
}
serialize() {

@@ -187,0 +187,0 @@ const baseSerialization = {

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