wgpu-matrix
Advanced tools
Comparing version 2.8.2 to 2.8.3
@@ -212,3 +212,3 @@ import { Mat3 } from './mat3'; | ||
*/ | ||
export declare function setAxis(a: Mat4, v: Vec3, axis: number, dst: Mat4): Mat4; | ||
export declare function setAxis(m: Mat4, v: Vec3, axis: number, dst: Mat4): Mat4; | ||
/** | ||
@@ -215,0 +215,0 @@ * Returns the scaling component of the matrix |
@@ -1,2 +0,2 @@ | ||
/* wgpu-matrix@2.8.2, license MIT */ | ||
/* wgpu-matrix@2.8.3, 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=y;y=a;return b}function ba(a=0,b=0){const c=new y(2);void 0!==a&&(c[0]=a,void 0!==b&&(c[1]=b));return c}function Da(a){const b=u;u=a;return b}function H(a,b,c){const d=new u(3);void 0!==a&&(d[0]=a,void 0!==b&&(d[1]=b,void 0!==c&&(d[2]=c))); | ||
@@ -3,0 +3,0 @@ return d}function Ea(a,b,c){c=c||new y(2);c[0]=a[0]-b[0];c[1]=a[1]-b[1];return c}function Fa(a,b,c,d){d=d||new y(2);d[0]=a[0]+c*(b[0]-a[0]);d[1]=a[1]+c*(b[1]-a[1]);return d}function qa(a,b,c){c=c||new y(2);c[0]=a[0]*b;c[1]=a[1]*b;return c}function Ga(a,b){b=b||new y(2);b[0]=1/a[0];b[1]=1/a[1];return b}function Ha(a,b){return a[0]*b[0]+a[1]*b[1]}function ra(a){const b=a[0];a=a[1];return Math.sqrt(b*b+a*a)}function Ia(a){const b=a[0];a=a[1];return b*b+a*a}function Ja(a,b){const c=a[0]-b[0];a=a[1]-b[1]; |
{ | ||
"name": "wgpu-matrix", | ||
"version": "2.8.2", | ||
"version": "2.8.3", | ||
"description": "fast matrix math library for WebGPU", | ||
@@ -53,5 +53,5 @@ "main": "dist/2.x/wgpu-matrix.module.js", | ||
"@tsconfig/recommended": "^1.0.6", | ||
"@typescript-eslint/eslint-plugin": "^5.59.6", | ||
"@typescript-eslint/parser": "^5.59.6", | ||
"eslint": "^8.40.0", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-html": "^7.1.0", | ||
@@ -58,0 +58,0 @@ "eslint-plugin-one-variable-per-var": "^0.0.3", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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