@woosh/meep-engine 2.121.9 → 2.121.11
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/package.json +1 -1
- package/src/core/binary/to_half_float_uint16.d.ts +1 -2
- package/src/core/binary/to_half_float_uint16.d.ts.map +1 -1
- package/src/core/binary/to_half_float_uint16.js +1 -2
- package/src/core/geom/Quaternion.d.ts.map +1 -1
- package/src/core/geom/Quaternion.js +36 -21
- package/src/core/geom/Vector2.d.ts.map +1 -1
- package/src/core/geom/Vector2.js +71 -45
- package/src/core/geom/Vector3.d.ts.map +1 -1
- package/src/core/geom/Vector3.js +107 -67
- package/src/core/geom/Vector4.d.ts +230 -40
- package/src/core/geom/Vector4.d.ts.map +1 -1
- package/src/core/geom/Vector4.js +24 -0
- package/src/core/geom/packing/max-rect/cutArea.d.ts.map +1 -1
- package/src/core/geom/packing/max-rect/cutArea.js +7 -8
- package/src/core/geom/packing/miniball/Miniball.d.ts +188 -11
- package/src/core/geom/packing/miniball/PointSet.d.ts +46 -3
- package/src/core/geom/vec3/v3_slerp.d.ts.map +1 -1
- package/src/core/geom/vec3/v3_slerp.js +2 -0
- package/src/core/math/EPSILON.d.ts.map +1 -1
- package/src/core/math/EPSILON.js +1 -1
- package/src/engine/graphics/ecs/trail2d/Trail2D.d.ts +6 -1
- package/src/engine/graphics/ecs/trail2d/Trail2D.d.ts.map +1 -1
- package/src/engine/graphics/impostors/octahedral/bake/compute_bounding_sphere.d.ts +1 -1
- package/src/engine/graphics/impostors/octahedral/bake/compute_bounding_sphere.d.ts.map +1 -1
- package/src/generation/markers/transform/MarkerNodeTransformRotateRandom.js +1 -1
- package/editor/tools/GridPaintTool.d.ts +0 -17
- package/editor/tools/GridPaintTool.d.ts.map +0 -1
- package/editor/tools/SelectionTool.d.ts +0 -27
- package/editor/tools/SelectionTool.d.ts.map +0 -1
- package/editor/tools/TopDownCameraControlTool.d.ts +0 -13
- package/editor/tools/TopDownCameraControlTool.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute_bounding_sphere.d.ts","sourceRoot":"","sources":["../../../../../../../src/engine/graphics/impostors/octahedral/bake/compute_bounding_sphere.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,iDAFW;IAAC,IAAI,EAAC,cAAc,CAAC;IAAC,SAAS,EAAC,IAAI,CAAA;CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"compute_bounding_sphere.d.ts","sourceRoot":"","sources":["../../../../../../../src/engine/graphics/impostors/octahedral/bake/compute_bounding_sphere.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,iDAFW;IAAC,IAAI,EAAC,cAAc,CAAC;IAAC,SAAS,EAAC,IAAI,CAAA;CAAC,EAAE,YAsCjD"}
|
|
@@ -22,7 +22,7 @@ export class MarkerNodeTransformRotateRandom extends MarkerNodeTransformer {
|
|
|
22
22
|
transform(node, grid) {
|
|
23
23
|
const result = node.clone();
|
|
24
24
|
|
|
25
|
-
result.transform.rotation.
|
|
25
|
+
result.transform.rotation.random(this.random);
|
|
26
26
|
|
|
27
27
|
return result;
|
|
28
28
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export default GridPaintTool;
|
|
2
|
-
declare class GridPaintTool extends Tool {
|
|
3
|
-
name: string;
|
|
4
|
-
terrain: import("../../src/engine/ecs/terrain/ecs/Terrain.js").default;
|
|
5
|
-
cameraController: {
|
|
6
|
-
start: Function;
|
|
7
|
-
stop: Function;
|
|
8
|
-
};
|
|
9
|
-
buildColor(): Vector4;
|
|
10
|
-
paint(): void;
|
|
11
|
-
traverse(callback: any): void;
|
|
12
|
-
affectTile(_x: any, _y: any): void;
|
|
13
|
-
affectTileByMousePosition(position: any): void;
|
|
14
|
-
}
|
|
15
|
-
import Tool from "./engine/Tool.js";
|
|
16
|
-
import Vector4 from "../../src/core/geom/Vector4.js";
|
|
17
|
-
//# sourceMappingURL=GridPaintTool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GridPaintTool.d.ts","sourceRoot":"","sources":["GridPaintTool.js"],"names":[],"mappings":";AAiBA;IAGQ,aAAwB;IAexB,uEAEE;IAcF;;;MAA2E;IAI/E,sBAQC;IAED,cAyBC;IAED,8BAyBC;IAiBD,mCAuCC;IAED,+CAQC;CAcJ;iBAtLgB,kBAAkB;oBAZf,gCAAgC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {Vector2} point
|
|
4
|
-
* @param {Engine} engine
|
|
5
|
-
* @param {THREE.Camera} camera
|
|
6
|
-
* @returns {number[]} entities
|
|
7
|
-
*/
|
|
8
|
-
export function pickingEntitySelection(point: Vector2, engine: Engine, camera: THREE.Camera): number[];
|
|
9
|
-
export default SelectionTool;
|
|
10
|
-
import Vector2 from '../../src/core/geom/Vector2.js';
|
|
11
|
-
import { Camera } from '../../src/engine/graphics/ecs/camera/Camera.js';
|
|
12
|
-
declare class SelectionTool extends Tool {
|
|
13
|
-
name: string;
|
|
14
|
-
anchorPoint: Vector2;
|
|
15
|
-
targetPoint: Vector2;
|
|
16
|
-
box: AABB2;
|
|
17
|
-
selectionMarker: SelectionView;
|
|
18
|
-
readPosition(target: any): void;
|
|
19
|
-
}
|
|
20
|
-
import Tool from './engine/Tool.js';
|
|
21
|
-
import AABB2 from '../../src/core/geom/2d/aabb/AABB2.js';
|
|
22
|
-
declare class SelectionView extends View<HTMLElement> {
|
|
23
|
-
constructor();
|
|
24
|
-
el: HTMLDivElement;
|
|
25
|
-
}
|
|
26
|
-
import View from '../../src/view/View.js';
|
|
27
|
-
//# sourceMappingURL=SelectionTool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionTool.d.ts","sourceRoot":"","sources":["SelectionTool.js"],"names":[],"mappings":"AA8MA;;;;;;GAMG;AACH,8CALW,OAAO,0BAEP,YAAY,GACV,MAAM,EAAE,CAkEpB;;oBAnRmB,gCAAgC;uBAE7B,gDAAgD;AA6BvE;IAGQ,aAA+B;IAE/B,qBAAgC;IAChC,qBAAgC;IAChC,WAAsB;IAEtB,+BAA0C;IAG9C,gCAIC;CA2GJ;iBAhJgB,kBAAkB;kBAXjB,sCAAsC;AAaxD;IACI,cAcC;IAZG,mBAAuC;CAa9C;iBAvBgB,wBAAwB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default TopDownCameraControlTool;
|
|
2
|
-
declare class TopDownCameraControlTool extends Tool {
|
|
3
|
-
name: string;
|
|
4
|
-
system: any;
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @type {Entity}
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
|
-
private __controller;
|
|
11
|
-
}
|
|
12
|
-
import Tool from './engine/Tool.js';
|
|
13
|
-
//# sourceMappingURL=TopDownCameraControlTool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TopDownCameraControlTool.d.ts","sourceRoot":"","sources":["TopDownCameraControlTool.js"],"names":[],"mappings":";AAMA;IAGQ,aAA4B;IAC5B,YAAkB;IAGlB;;;;OAIG;IACH,qBAAwB;CAkC/B;iBAhDgB,kBAAkB"}
|