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

wgpu-matrix

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wgpu-matrix - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

2

dist/2.x/wgpu-matrix.min.js

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

/* wgpu-matrix@2.4.1, license MIT */
/* wgpu-matrix@2.4.2, license MIT */
(function(M,aa){"object"===typeof exports&&"undefined"!==typeof module?aa(exports):"function"===typeof define&&define.amd?define(["exports"],aa):(M="undefined"!==typeof globalThis?globalThis:M||self,aa(M.wgpuMatrix={}))})(this,function(M){function aa(a){const b=z;z=a;return b}function ba(a=0,b=0){const c=new z(2);void 0!==a&&(c[0]=a,void 0!==b&&(c[1]=b));return c}function va(a,b,c){c=c||new z(2);c[0]=a[0]-b[0];c[1]=a[1]-b[1];return c}function wa(a,b,c){c=c||new z(2);c[0]=a[0]*b;c[1]=a[1]*b;return c}

@@ -3,0 +3,0 @@ function xa(a,b){b=b||new z(2);b[0]=1/a[0];b[1]=1/a[1];return b}function ya(a,b){return a[0]*b[0]+a[1]*b[1]}function za(a){const b=a[0];a=a[1];return Math.sqrt(b*b+a*a)}function Aa(a){const b=a[0];a=a[1];return b*b+a*a}function Ba(a,b){const c=a[0]-b[0];a=a[1]-b[1];return Math.sqrt(c*c+a*a)}function Ca(a,b){const c=a[0]-b[0];a=a[1]-b[1];return c*c+a*a}function Da(a,b){b=b||new z(2);b[0]=a[0];b[1]=a[1];return b}function Ea(a,b,c){c=c||new z(2);c[0]=a[0]*b[0];c[1]=a[1]*b[1];return c}function Fa(a,b,

{
"name": "wgpu-matrix",
"version": "2.4.1",
"version": "2.4.2",
"description": "fast matrix math library for WebGPU",

@@ -9,2 +9,3 @@ "main": "dist/2.x/wgpu-matrix.module.js",

"type": "module",
"sideEffects": false,
"directories": {

@@ -11,0 +12,0 @@ "test": "test"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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