Skip to content

Commit

Permalink
Deploying to gh-pages from @ a461576 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Oct 27, 2024
1 parent da50f94 commit 6db14ff
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 17 deletions.
12 changes: 11 additions & 1 deletion dist/3.x/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
/**
* 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: {
(arrayLength: number): number[];
(...items: number[]): number[];
Expand Down
4 changes: 2 additions & 2 deletions dist/3.x/wgpu-matrix.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
* Some docs
* @namespace wgpu-matrix
*/
import { BaseArgType } from './types';
import { MutableNumberArray, BaseArgType } from './types';
import { Mat3Arg, Mat3Type } from './mat3-impl';
import { Mat4Arg, Mat4Type } from './mat4-impl';
import { QuatArg, QuatType, RotationOrder } from './quat-impl';
import { Vec2Arg, Vec2Type } from './vec2-impl';
import { Vec3Arg, Vec3Type } from './vec3-impl';
import { Vec4Arg, Vec4Type } from './vec4-impl';
import * as utils from './utils';
export { RotationOrder, utils, BaseArgType, Mat3Arg, Mat4Arg, QuatArg, Vec2Arg, Vec3Arg, Vec4Arg, Mat3Type, Mat4Type, QuatType, Vec2Type, Vec3Type, Vec4Type, };
export { RotationOrder, utils, MutableNumberArray, BaseArgType, Mat3Arg, Mat4Arg, QuatArg, Vec2Arg, Vec3Arg, Vec4Arg, Mat3Type, Mat4Type, QuatType, Vec2Type, Vec3Type, Vec4Type, };
export type BaseCtor<T extends BaseArgType> = new (n: number) => T;
export type Mat3 = Mat3Type<Float32Array>;
export type Mat4 = Mat4Type<Float32Array>;
Expand Down
2 changes: 1 addition & 1 deletion dist/3.x/wgpu-matrix.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/3.x/wgpu-matrix.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/3.x/wgpu-matrix.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/3.x/wgpu-matrix.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/3.x/wgpu-matrix.module.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/3.x/wgpu-matrix.module.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

Loading

0 comments on commit 6db14ff

Please sign in to comment.