@woosh/meep-engine 2.119.60 → 2.119.61

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Fully featured ECS game engine written in JavaScript",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.119.60",
8
+ "version": "2.119.61",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -4,6 +4,7 @@
4
4
  * @param {LightProbeVolume} volume
5
5
  * @param {string} [path_key]
6
6
  * @param {number} [placement_surface_offset] How far to place new probes away from the surface
7
+ * @param {number} [probe_size] purely visual, how big is each probe when visualised?
7
8
  */
8
- export function lpv_build_editor({ engine, volume, path_key, placement_surface_offset }: Engine): Promise<void>;
9
+ export function lpv_build_editor({ engine, volume, path_key, placement_surface_offset, probe_size, }: Engine): Promise<void>;
9
10
  //# sourceMappingURL=lpv_build_editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lpv_build_editor.d.ts","sourceRoot":"","sources":["../../../../../src/engine/graphics/sh3/lpv_build_editor.js"],"names":[],"mappings":"AAmMA;;;;;;GAMG;AACH,gHA4eC"}
1
+ {"version":3,"file":"lpv_build_editor.d.ts","sourceRoot":"","sources":["../../../../../src/engine/graphics/sh3/lpv_build_editor.js"],"names":[],"mappings":"AAmMA;;;;;;;GAOG;AACH,6HA4eC"}
@@ -199,12 +199,14 @@ class EditorState {
199
199
  * @param {LightProbeVolume} volume
200
200
  * @param {string} [path_key]
201
201
  * @param {number} [placement_surface_offset] How far to place new probes away from the surface
202
+ * @param {number} [probe_size] purely visual, how big is each probe when visualised?
202
203
  */
203
204
  export async function lpv_build_editor({
204
205
  engine,
205
206
  volume,
206
207
  path_key = "lpv",
207
- placement_surface_offset = 1
208
+ placement_surface_offset = 1,
209
+ probe_size = 1,
208
210
  }) {
209
211
 
210
212
  engine.assetManager.registerLoader('binary', new ArrayBufferLoader());
@@ -312,7 +314,6 @@ export async function lpv_build_editor({
312
314
  });
313
315
  camera_controller.destroy();
314
316
 
315
- const probe_size = 1;
316
317
 
317
318
  const em = engine.entityManager;
318
319
  const ecd = em.dataset;