wgpu-matrix
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1117356