@n3rdw1z4rd/core 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +40 -95
- package/dist/index.d.ts +40 -95
- package/dist/index.js +106 -354
- package/dist/index.mjs +101 -349
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -62,7 +62,7 @@ declare class Clock extends Emitter {
|
|
|
62
62
|
get elapsedTime(): number;
|
|
63
63
|
get fps(): number;
|
|
64
64
|
get isRunning(): boolean;
|
|
65
|
-
start():
|
|
65
|
+
start(): this;
|
|
66
66
|
stop(): void;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -71,30 +71,30 @@ declare const DOUBLE_PI: number;
|
|
|
71
71
|
declare const HALF_PI: number;
|
|
72
72
|
declare const RADIAN_FACTOR: number;
|
|
73
73
|
interface XY {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
x: number;
|
|
75
|
+
y: number;
|
|
76
76
|
}
|
|
77
77
|
interface XYZ {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
z: number;
|
|
81
81
|
}
|
|
82
82
|
interface XYZW {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
z: number;
|
|
86
|
+
w: number;
|
|
87
87
|
}
|
|
88
88
|
interface RGB {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
r: number;
|
|
90
|
+
g: number;
|
|
91
|
+
b: number;
|
|
92
92
|
}
|
|
93
93
|
interface RGBA {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
r: number;
|
|
95
|
+
g: number;
|
|
96
|
+
b: number;
|
|
97
|
+
a: number;
|
|
98
98
|
}
|
|
99
99
|
declare const abs: (n: number) => number;
|
|
100
100
|
declare const min: (a: number, b: number) => number;
|
|
@@ -195,92 +195,32 @@ declare function GenerateRooms(params?: GenerateRoomsParams): {
|
|
|
195
195
|
declare function GenerateDoors(map: Map2D, paths: XY[][], params?: DoorsParams): XY[];
|
|
196
196
|
declare function GenerateWalls(map: Map2D): XY[];
|
|
197
197
|
|
|
198
|
-
type
|
|
199
|
-
type ECSTickCallback = () => void;
|
|
200
|
-
interface ECSSystem {
|
|
201
|
-
components: string[];
|
|
202
|
-
callback: ECSSystemCallback;
|
|
203
|
-
}
|
|
204
|
-
interface ECSEntity {
|
|
205
|
-
uid: string;
|
|
206
|
-
components: Map<string, any>;
|
|
207
|
-
}
|
|
198
|
+
type Entity = number;
|
|
208
199
|
declare class ECS {
|
|
209
|
-
private
|
|
210
|
-
private
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
get components(): string[];
|
|
217
|
-
get systems(): string[];
|
|
218
|
-
get entities(): ECSEntity[];
|
|
219
|
-
uid(length?: number): string;
|
|
220
|
-
createComponent(uid: string, data?: any): this;
|
|
221
|
-
includeAsDefaultComponents(...components: string[]): this;
|
|
222
|
-
createSystem<T extends string[]>(uid: string, ...components: [...T, ECSSystemCallback]): this;
|
|
223
|
-
createEntityWithUid(uid: string, ...components: string[]): this;
|
|
224
|
-
createEntity(...components: string[]): this;
|
|
225
|
-
createEntities(count: number, ...components: string[]): this;
|
|
226
|
-
getEntity(uid: string): ECSEntity | undefined;
|
|
227
|
-
getEntitiesWithComponents<T extends string[]>(...components: [...T, filter: any]): ECSEntity[];
|
|
228
|
-
addComponent(uid: string, component: string, values?: any): this;
|
|
229
|
-
onAllEntitiesNow(callback: (entit: ECSEntity) => void): this;
|
|
230
|
-
duplicateEntity(uid: string, count?: number, deep?: boolean): this;
|
|
231
|
-
getGlobal(key: string): any;
|
|
232
|
-
setGlobal(key: string, value: any): this;
|
|
233
|
-
beforeTick(callback: ECSTickCallback): this;
|
|
234
|
-
afterTick(callback: ECSTickCallback): this;
|
|
235
|
-
runSystem(uid: string): this;
|
|
236
|
-
update(): void;
|
|
237
|
-
static get instance(): ECS;
|
|
238
|
-
private static _instance;
|
|
239
|
-
private constructor();
|
|
200
|
+
private nextEntityId;
|
|
201
|
+
private components;
|
|
202
|
+
createEntity(): Entity;
|
|
203
|
+
addComponent<T>(entity: Entity, name: string, data: T): void;
|
|
204
|
+
getComponent<T>(entity: Entity, name: string): T | undefined;
|
|
205
|
+
removeComponent(entity: Entity, name: string): void;
|
|
206
|
+
getEntitiesWithComponents(...componentNames: string[]): Entity[];
|
|
240
207
|
}
|
|
241
208
|
|
|
242
|
-
interface
|
|
209
|
+
interface InputEventState {
|
|
243
210
|
state: number;
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
interface CommonEventProps {
|
|
247
|
-
timeStamp: number;
|
|
248
|
-
altKey: boolean;
|
|
249
|
-
ctrlKey: boolean;
|
|
250
|
-
metaKey: boolean;
|
|
251
|
-
shiftKey: boolean;
|
|
211
|
+
time: number;
|
|
252
212
|
}
|
|
253
213
|
declare class Input extends Emitter {
|
|
214
|
+
private _down;
|
|
215
|
+
private _pointerPosition;
|
|
254
216
|
inputThreshold: number;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
private _mousePosition;
|
|
258
|
-
private _mousePosition2;
|
|
259
|
-
private _contextMenuTarget;
|
|
260
|
-
get mousePosition(): [number, number];
|
|
261
|
-
get mousePosition2(): [number, number];
|
|
217
|
+
get down(): Map<string, InputEventState>;
|
|
218
|
+
get pointerPosition(): Vector;
|
|
262
219
|
constructor();
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
private _getCommonEventProps;
|
|
267
|
-
private _onKeyDown;
|
|
268
|
-
private _onKeyUp;
|
|
269
|
-
private _onMouseButtonDown;
|
|
270
|
-
private _onMouseButtonUp;
|
|
271
|
-
private _onMouseMove;
|
|
272
|
-
private _onWheel;
|
|
273
|
-
isKeyDown(keyCode: string): boolean;
|
|
274
|
-
getKeyState(keyCode: string): number;
|
|
275
|
-
isMouseButtonDown(mouseButton: number): boolean;
|
|
276
|
-
getMouseButtonState(button: number): number;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
declare const logdev: (...args: any[]) => void;
|
|
220
|
+
isDown(name: string): boolean;
|
|
221
|
+
}
|
|
222
|
+
|
|
280
223
|
declare const log: (...args: any[]) => void;
|
|
281
|
-
declare const loginf: (...args: any[]) => void;
|
|
282
|
-
declare const logwrn: (...args: any[]) => void;
|
|
283
|
-
declare const logerr: (...args: any[]) => void;
|
|
284
224
|
|
|
285
225
|
type Map3DData = Map<string, number>;
|
|
286
226
|
declare class Map3D {
|
|
@@ -305,6 +245,10 @@ declare function isNullOrUndefined(target: any): boolean;
|
|
|
305
245
|
declare function isPositiveString(target: string): boolean;
|
|
306
246
|
declare const getRedYellowGreenGradientHex: (min: number, max?: number) => string;
|
|
307
247
|
declare function GetUrlParams(): KeyValue;
|
|
248
|
+
declare const xy2k: (x: number, y: number, delimiter?: string) => string;
|
|
249
|
+
declare const k2xy: (key: string, delimiter?: string) => [number, number];
|
|
250
|
+
declare const xyz2k: (x: number, y: number, z: number, delimiter?: string) => string;
|
|
251
|
+
declare const k2xyz: (key: string, delimiter?: string) => [number, number];
|
|
308
252
|
|
|
309
253
|
interface FractalParams {
|
|
310
254
|
octaves: number;
|
|
@@ -512,6 +456,7 @@ interface ThreeJsBoilerPlateParams {
|
|
|
512
456
|
far?: number;
|
|
513
457
|
};
|
|
514
458
|
seed?: number;
|
|
459
|
+
setupBasicSceneParams?: boolean | SetupBasicSceneParams;
|
|
515
460
|
}
|
|
516
461
|
declare class ThreeJsBoilerPlate {
|
|
517
462
|
clock: Clock;
|
|
@@ -778,4 +723,4 @@ declare class WorkerInterface extends Emitter {
|
|
|
778
723
|
terminate(): void;
|
|
779
724
|
}
|
|
780
725
|
|
|
781
|
-
export { AStar, type AStarFindPathParams, type AStarPoint, AddThreeComponent, AsteroidMesh, type AsteroidOptions, type AtlasParams, AtlasTextureMaterial, type AtlasTextureMaterialParams, BuildDefaultPalette, type CanvasColor, CanvasRenderer, Clock, Color, type ColorSelectionOptions, type ColorSelectionResult, Colors,
|
|
726
|
+
export { AStar, type AStarFindPathParams, type AStarPoint, AddThreeComponent, AsteroidMesh, type AsteroidOptions, type AtlasParams, AtlasTextureMaterial, type AtlasTextureMaterialParams, BuildDefaultPalette, type CanvasColor, CanvasRenderer, Clock, Color, type ColorSelectionOptions, type ColorSelectionResult, Colors, CompileShader, CreatePaletteController, CreateProgram, CreateProgramInfo, CreateStarfield, CreateSubTexture, CreateSystemStar, CreateThreeEntity, CreateWebGlContext, CubeSphereGeometry, DOUBLE_PI, type DoorsParams, type DrawParams, ECS, Emitter, type Entity, type EyeDropper, type FractalParams, GenerateDoors, GenerateEntityId, GenerateRooms, type GenerateRoomsParams, GenerateWalls, GetProgramLocations, GetThreeComponent, GetUrlParams, HALF_PI, Input, type InputEventState, IsThreeEntity, type KeyValue, type Listener, LoadTexture, Map2D, Map3D, type Map3DData, Noise, PI, type PaletteController, type PaletteControllerOnChange, ParticleRenderer, ParticleSystem2d, ParticleSystem3d, type PathsParams, type PointPair, PoissonDiskSampler, type ProgramInfo, type ProgramLocations, RADIAN_FACTOR, type RGB, type RGBA, RandomNumberGenerator, type RectPair, Rectangle, RemoveThreeComponent, type RendererParams, ResizeWebGlContext, type RoomsParams, type SetupBasicSceneParams, ShaderType, SimplexNoise, SpatialPartition2d, SpatialPartition3d, type SpatialPartitionEntity2d, type SpatialPartitionEntity3d, TILE_EMPTY, TILE_FLOOR, TILE_PATH, TextureAtlas, type TextureData, type ThreeComponent, type ThreeEntity, ThreeJsBoilerPlate, type ThreeJsBoilerPlateParams, ThreeJsCameraRig, type ThreeJsCameraRigParams, ThreeJsPlayerController, type ThreeSystem, Tilemap, Vector, type Voxel, type VoxelData, VoxelFaces, type VoxelMap, type VoxelMaterial, VoxelMesh, WebGlRenderer, WorkerInterface, type XY, type XYZ, type XYZW, abs, ceil, clamp, cos, deg2rad, distance2d, distance3d, floor, getRedYellowGreenGradientHex, hypot2, hypot3, imul, isNullOrUndefined, isPositiveString, k2xy, k2xyz, lerp, log, manhattanDistance, max, min, pow, rng, round, roundTo, sin, sqrt, squaredDistance, xy2k, xyz2k };
|
package/dist/index.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ declare class Clock extends Emitter {
|
|
|
62
62
|
get elapsedTime(): number;
|
|
63
63
|
get fps(): number;
|
|
64
64
|
get isRunning(): boolean;
|
|
65
|
-
start():
|
|
65
|
+
start(): this;
|
|
66
66
|
stop(): void;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -71,30 +71,30 @@ declare const DOUBLE_PI: number;
|
|
|
71
71
|
declare const HALF_PI: number;
|
|
72
72
|
declare const RADIAN_FACTOR: number;
|
|
73
73
|
interface XY {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
x: number;
|
|
75
|
+
y: number;
|
|
76
76
|
}
|
|
77
77
|
interface XYZ {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
z: number;
|
|
81
81
|
}
|
|
82
82
|
interface XYZW {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
z: number;
|
|
86
|
+
w: number;
|
|
87
87
|
}
|
|
88
88
|
interface RGB {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
r: number;
|
|
90
|
+
g: number;
|
|
91
|
+
b: number;
|
|
92
92
|
}
|
|
93
93
|
interface RGBA {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
r: number;
|
|
95
|
+
g: number;
|
|
96
|
+
b: number;
|
|
97
|
+
a: number;
|
|
98
98
|
}
|
|
99
99
|
declare const abs: (n: number) => number;
|
|
100
100
|
declare const min: (a: number, b: number) => number;
|
|
@@ -195,92 +195,32 @@ declare function GenerateRooms(params?: GenerateRoomsParams): {
|
|
|
195
195
|
declare function GenerateDoors(map: Map2D, paths: XY[][], params?: DoorsParams): XY[];
|
|
196
196
|
declare function GenerateWalls(map: Map2D): XY[];
|
|
197
197
|
|
|
198
|
-
type
|
|
199
|
-
type ECSTickCallback = () => void;
|
|
200
|
-
interface ECSSystem {
|
|
201
|
-
components: string[];
|
|
202
|
-
callback: ECSSystemCallback;
|
|
203
|
-
}
|
|
204
|
-
interface ECSEntity {
|
|
205
|
-
uid: string;
|
|
206
|
-
components: Map<string, any>;
|
|
207
|
-
}
|
|
198
|
+
type Entity = number;
|
|
208
199
|
declare class ECS {
|
|
209
|
-
private
|
|
210
|
-
private
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
get components(): string[];
|
|
217
|
-
get systems(): string[];
|
|
218
|
-
get entities(): ECSEntity[];
|
|
219
|
-
uid(length?: number): string;
|
|
220
|
-
createComponent(uid: string, data?: any): this;
|
|
221
|
-
includeAsDefaultComponents(...components: string[]): this;
|
|
222
|
-
createSystem<T extends string[]>(uid: string, ...components: [...T, ECSSystemCallback]): this;
|
|
223
|
-
createEntityWithUid(uid: string, ...components: string[]): this;
|
|
224
|
-
createEntity(...components: string[]): this;
|
|
225
|
-
createEntities(count: number, ...components: string[]): this;
|
|
226
|
-
getEntity(uid: string): ECSEntity | undefined;
|
|
227
|
-
getEntitiesWithComponents<T extends string[]>(...components: [...T, filter: any]): ECSEntity[];
|
|
228
|
-
addComponent(uid: string, component: string, values?: any): this;
|
|
229
|
-
onAllEntitiesNow(callback: (entit: ECSEntity) => void): this;
|
|
230
|
-
duplicateEntity(uid: string, count?: number, deep?: boolean): this;
|
|
231
|
-
getGlobal(key: string): any;
|
|
232
|
-
setGlobal(key: string, value: any): this;
|
|
233
|
-
beforeTick(callback: ECSTickCallback): this;
|
|
234
|
-
afterTick(callback: ECSTickCallback): this;
|
|
235
|
-
runSystem(uid: string): this;
|
|
236
|
-
update(): void;
|
|
237
|
-
static get instance(): ECS;
|
|
238
|
-
private static _instance;
|
|
239
|
-
private constructor();
|
|
200
|
+
private nextEntityId;
|
|
201
|
+
private components;
|
|
202
|
+
createEntity(): Entity;
|
|
203
|
+
addComponent<T>(entity: Entity, name: string, data: T): void;
|
|
204
|
+
getComponent<T>(entity: Entity, name: string): T | undefined;
|
|
205
|
+
removeComponent(entity: Entity, name: string): void;
|
|
206
|
+
getEntitiesWithComponents(...componentNames: string[]): Entity[];
|
|
240
207
|
}
|
|
241
208
|
|
|
242
|
-
interface
|
|
209
|
+
interface InputEventState {
|
|
243
210
|
state: number;
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
interface CommonEventProps {
|
|
247
|
-
timeStamp: number;
|
|
248
|
-
altKey: boolean;
|
|
249
|
-
ctrlKey: boolean;
|
|
250
|
-
metaKey: boolean;
|
|
251
|
-
shiftKey: boolean;
|
|
211
|
+
time: number;
|
|
252
212
|
}
|
|
253
213
|
declare class Input extends Emitter {
|
|
214
|
+
private _down;
|
|
215
|
+
private _pointerPosition;
|
|
254
216
|
inputThreshold: number;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
private _mousePosition;
|
|
258
|
-
private _mousePosition2;
|
|
259
|
-
private _contextMenuTarget;
|
|
260
|
-
get mousePosition(): [number, number];
|
|
261
|
-
get mousePosition2(): [number, number];
|
|
217
|
+
get down(): Map<string, InputEventState>;
|
|
218
|
+
get pointerPosition(): Vector;
|
|
262
219
|
constructor();
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
private _getCommonEventProps;
|
|
267
|
-
private _onKeyDown;
|
|
268
|
-
private _onKeyUp;
|
|
269
|
-
private _onMouseButtonDown;
|
|
270
|
-
private _onMouseButtonUp;
|
|
271
|
-
private _onMouseMove;
|
|
272
|
-
private _onWheel;
|
|
273
|
-
isKeyDown(keyCode: string): boolean;
|
|
274
|
-
getKeyState(keyCode: string): number;
|
|
275
|
-
isMouseButtonDown(mouseButton: number): boolean;
|
|
276
|
-
getMouseButtonState(button: number): number;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
declare const logdev: (...args: any[]) => void;
|
|
220
|
+
isDown(name: string): boolean;
|
|
221
|
+
}
|
|
222
|
+
|
|
280
223
|
declare const log: (...args: any[]) => void;
|
|
281
|
-
declare const loginf: (...args: any[]) => void;
|
|
282
|
-
declare const logwrn: (...args: any[]) => void;
|
|
283
|
-
declare const logerr: (...args: any[]) => void;
|
|
284
224
|
|
|
285
225
|
type Map3DData = Map<string, number>;
|
|
286
226
|
declare class Map3D {
|
|
@@ -305,6 +245,10 @@ declare function isNullOrUndefined(target: any): boolean;
|
|
|
305
245
|
declare function isPositiveString(target: string): boolean;
|
|
306
246
|
declare const getRedYellowGreenGradientHex: (min: number, max?: number) => string;
|
|
307
247
|
declare function GetUrlParams(): KeyValue;
|
|
248
|
+
declare const xy2k: (x: number, y: number, delimiter?: string) => string;
|
|
249
|
+
declare const k2xy: (key: string, delimiter?: string) => [number, number];
|
|
250
|
+
declare const xyz2k: (x: number, y: number, z: number, delimiter?: string) => string;
|
|
251
|
+
declare const k2xyz: (key: string, delimiter?: string) => [number, number];
|
|
308
252
|
|
|
309
253
|
interface FractalParams {
|
|
310
254
|
octaves: number;
|
|
@@ -512,6 +456,7 @@ interface ThreeJsBoilerPlateParams {
|
|
|
512
456
|
far?: number;
|
|
513
457
|
};
|
|
514
458
|
seed?: number;
|
|
459
|
+
setupBasicSceneParams?: boolean | SetupBasicSceneParams;
|
|
515
460
|
}
|
|
516
461
|
declare class ThreeJsBoilerPlate {
|
|
517
462
|
clock: Clock;
|
|
@@ -778,4 +723,4 @@ declare class WorkerInterface extends Emitter {
|
|
|
778
723
|
terminate(): void;
|
|
779
724
|
}
|
|
780
725
|
|
|
781
|
-
export { AStar, type AStarFindPathParams, type AStarPoint, AddThreeComponent, AsteroidMesh, type AsteroidOptions, type AtlasParams, AtlasTextureMaterial, type AtlasTextureMaterialParams, BuildDefaultPalette, type CanvasColor, CanvasRenderer, Clock, Color, type ColorSelectionOptions, type ColorSelectionResult, Colors,
|
|
726
|
+
export { AStar, type AStarFindPathParams, type AStarPoint, AddThreeComponent, AsteroidMesh, type AsteroidOptions, type AtlasParams, AtlasTextureMaterial, type AtlasTextureMaterialParams, BuildDefaultPalette, type CanvasColor, CanvasRenderer, Clock, Color, type ColorSelectionOptions, type ColorSelectionResult, Colors, CompileShader, CreatePaletteController, CreateProgram, CreateProgramInfo, CreateStarfield, CreateSubTexture, CreateSystemStar, CreateThreeEntity, CreateWebGlContext, CubeSphereGeometry, DOUBLE_PI, type DoorsParams, type DrawParams, ECS, Emitter, type Entity, type EyeDropper, type FractalParams, GenerateDoors, GenerateEntityId, GenerateRooms, type GenerateRoomsParams, GenerateWalls, GetProgramLocations, GetThreeComponent, GetUrlParams, HALF_PI, Input, type InputEventState, IsThreeEntity, type KeyValue, type Listener, LoadTexture, Map2D, Map3D, type Map3DData, Noise, PI, type PaletteController, type PaletteControllerOnChange, ParticleRenderer, ParticleSystem2d, ParticleSystem3d, type PathsParams, type PointPair, PoissonDiskSampler, type ProgramInfo, type ProgramLocations, RADIAN_FACTOR, type RGB, type RGBA, RandomNumberGenerator, type RectPair, Rectangle, RemoveThreeComponent, type RendererParams, ResizeWebGlContext, type RoomsParams, type SetupBasicSceneParams, ShaderType, SimplexNoise, SpatialPartition2d, SpatialPartition3d, type SpatialPartitionEntity2d, type SpatialPartitionEntity3d, TILE_EMPTY, TILE_FLOOR, TILE_PATH, TextureAtlas, type TextureData, type ThreeComponent, type ThreeEntity, ThreeJsBoilerPlate, type ThreeJsBoilerPlateParams, ThreeJsCameraRig, type ThreeJsCameraRigParams, ThreeJsPlayerController, type ThreeSystem, Tilemap, Vector, type Voxel, type VoxelData, VoxelFaces, type VoxelMap, type VoxelMaterial, VoxelMesh, WebGlRenderer, WorkerInterface, type XY, type XYZ, type XYZW, abs, ceil, clamp, cos, deg2rad, distance2d, distance3d, floor, getRedYellowGreenGradientHex, hypot2, hypot3, imul, isNullOrUndefined, isPositiveString, k2xy, k2xyz, lerp, log, manhattanDistance, max, min, pow, rng, round, roundTo, sin, sqrt, squaredDistance, xy2k, xyz2k };
|