Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eturnity/eturnity_maths

Package Overview
Dependencies
Maintainers
4
Versions
427
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.28.0-EPDM-7478.1 to 6.28.0-EPDM-7478.2

2

package.json
{
"name": "@eturnity/eturnity_maths",
"version": "6.28.0-EPDM-7478.1",
"version": "6.28.0-EPDM-7478.2",
"author": "Eturnity Team",

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

@@ -0,1 +1,2 @@

import { substractVector } from "./vector"
export function inverse2x2Matrix([a, b, c, d]) {

@@ -53,2 +54,7 @@ //inverse matrix |a,c|

return product
}
export function rotateTransformation(point,angle,center){
let rotationMatrix=[[Math.cos(angle),Math.sin(angle)],[-Math.sin(angle),Math.cos(angle)]]
let k=multiplyMatrices(rotationMatrix,[point.x-center.x,point.y-center.y])
return {x:k[0]+center.x,y:k[1]+center.y}
}
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