wgpu-matrix
Advanced tools
Comparing version
/** | ||
* A type wider than `number[]`, omitting any instance functions | ||
* unused by the API, e.g., map, sort. This allows the math | ||
* functions to operate on a wider range of array-like | ||
* values. | ||
*/ | ||
export interface MutableNumberArray { | ||
readonly length: number; | ||
[n: number]: number; | ||
} | ||
/** | ||
* The types you can pass to most functions that take an | ||
* array of numbers. | ||
*/ | ||
export type BaseArgType = Float32Array | Float64Array | number[]; | ||
export type BaseArgType = Float32Array | Float64Array | MutableNumberArray; | ||
export declare const ZeroArray: { | ||
@@ -7,0 +17,0 @@ (arrayLength: number): number[]; |
{ | ||
"name": "wgpu-matrix", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "fast matrix math library for WebGPU", | ||
@@ -5,0 +5,0 @@ "main": "dist/3.x/wgpu-matrix.module.js", |
Sorry, the diff of this file is too big to display
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 not supported yet
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 not supported yet
1922917
0.09%13482
0.07%