Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Aug 4, 2023
1 parent 773eea9 commit 3402ceb
Show file tree
Hide file tree
Showing 293 changed files with 21,321 additions and 86,637 deletions.
18 changes: 17 additions & 1 deletion dist/2.x/mat3-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Mat3 } from './mat3';
import { Mat4 } from './mat4';
import Vec2 from './vec2-impl';
export default Mat3;
export type Mat3LikeCtor = new (n: number) => Mat3;
export declare type Mat3LikeCtor = new (n: number) => Mat3;
/**
* Sets the type this library creates for a Mat3
* @param ctor - the constructor for the type. Either `Float32Array`, `Float64Array`, or `Array`
Expand Down Expand Up @@ -253,3 +253,19 @@ export declare function scaling(v: Vec2, dst?: Mat3): Mat3;
* @returns The scaled matrix.
*/
export declare function scale(m: Mat3, v: Vec2, dst?: Mat3): Mat3;
/**
* Creates a 3-by-3 matrix which scales uniformly in each dimension
* @param s - Amount to scale
* @param dst - matrix to hold result. If not passed a new one is created.
* @returns The scaling matrix.
*/
export declare function uniformScaling(s: number, dst?: Mat3): Mat3;
/**
* Scales the given 3-by-3 matrix in each dimension by an amount
* given.
* @param m - The matrix to be modified.
* @param s - Amount to scale.
* @param dst - matrix to hold result. If not passed a new one is created.
* @returns The scaled matrix.
*/
export declare function uniformScale(m: Mat3, s: number, dst?: Mat3): Mat3;
2 changes: 1 addition & 1 deletion dist/2.x/mat3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* When created by the library will create the default type which is `Float32Array`
* but can be set by calling {@link mat3.setDefaultType}.
*/
export type Mat3 = number[] | Float32Array | Float64Array;
export declare type Mat3 = number[] | Float32Array | Float64Array;
17 changes: 16 additions & 1 deletion dist/2.x/mat4-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Mat4 } from './mat4';
import { Quat } from './quat';
import Vec3 from './vec3-impl';
export default Mat4;
export type Mat4LikeCtor = new (n: number) => Mat4;
export declare type Mat4LikeCtor = new (n: number) => Mat4;
/**
* Sets the type this library creates for a Mat4
* @param ctor - the constructor for the type. Either `Float32Array`, `Float64Array`, or `Array`
Expand Down Expand Up @@ -450,3 +450,18 @@ export declare function scaling(v: Vec3, dst?: Mat4): Mat4;
* @returns The scaled matrix.
*/
export declare function scale(m: Mat4, v: Vec3, dst?: Mat4): Mat4;
/**
* Creates a 4-by-4 matrix which scales a uniform amount in each dimension.
* @param s - the amount to scale
* @param dst - matrix to hold result. If not passed a new one is created.
* @returns The scaling matrix.
*/
export declare function uniformScaling(s: number, dst?: Mat4): Mat4;
/**
* Scales the given 4-by-4 matrix in each dimension by a uniform scale.
* @param m - The matrix to be modified.
* @param s - The amount to scale.
* @param dst - matrix to hold result. If not passed a new one is created.
* @returns The scaled matrix.
*/
export declare function uniformScale(m: Mat4, s: number, dst?: Mat4): Mat4;
2 changes: 1 addition & 1 deletion dist/2.x/mat4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* When created by the library will create the default type which is `Float32Array`
* but can be set by calling {@link mat4.setDefaultType}.
*/
export type Mat4 = number[] | Float32Array | Float64Array;
export declare type Mat4 = number[] | Float32Array | Float64Array;
2 changes: 1 addition & 1 deletion dist/2.x/quat-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Quat, create, setDefaultType } from './quat';
import { Mat3 } from './mat3.js';
import { Mat4 } from './mat4.js';
import { Vec3 } from './vec3.js';
export type RotationOrder = 'xyz' | 'xzy' | 'yxz' | 'yzx' | 'zxy' | 'zyx';
export declare type RotationOrder = 'xyz' | 'xzy' | 'yxz' | 'yzx' | 'zxy' | 'zyx';
export default Quat;
export { create, setDefaultType };
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/2.x/quat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* When created by the library will create the default type which is `Float32Array`
* but can be set by calling {@link quat.setDefaultType}.
*/
export type Quat = number[] | Float32Array | Float64Array;
export declare type Quat = number[] | Float32Array | Float64Array;
/**
*
* Quat4 math functions.
Expand Down
2 changes: 1 addition & 1 deletion dist/2.x/vec2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* When created by the library will create the default type which is `Float32Array`
* but can be set by calling {@link vec2.setDefaultType}.
*/
export type Vec2 = number[] | Float32Array | Float64Array;
export declare type Vec2 = number[] | Float32Array | Float64Array;
/**
*
* Vec2 math functions.
Expand Down
2 changes: 1 addition & 1 deletion dist/2.x/vec3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* When created by the library will create the default type which is `Float32Array`
* but can be set by calling {@link vec3.setDefaultType}.
*/
export type Vec3 = number[] | Float32Array | Float64Array;
export declare type Vec3 = number[] | Float32Array | Float64Array;
/**
*
* Vec3 math functions.
Expand Down
2 changes: 1 addition & 1 deletion dist/2.x/vec4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* When created by the library will create the default type which is `Float32Array`
* but can be set by calling {@link vec4.setDefaultType}.
*/
export type Vec4 = number[] | Float32Array | Float64Array;
export declare type Vec4 = number[] | Float32Array | Float64Array;
/**
*
* Vec4 math functions.
Expand Down
Loading

0 comments on commit 3402ceb

Please sign in to comment.