@woosh/meep-engine 2.126.44 → 2.126.45

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": "Pure JavaScript game engine. Fully featured and production ready.",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.126.44",
8
+ "version": "2.126.45",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -5,6 +5,7 @@
5
5
  * @param {number} plane_mask if bit is set to 0, that plane is not allowed to move
6
6
  * @param {BVH} bvh
7
7
  * @param {number[]|ArrayLike<number>|Float32Array} frustum
8
+ * @returns {boolean} true iff planes were updated, false otherwise. If false is returned - result is not written
8
9
  */
9
10
  export function compute_tight_near_far_clipping_planes(result: number[], result_offset: number, plane_mask: number, bvh: BVH, frustum: number[] | ArrayLike<number> | Float32Array): boolean;
10
11
  //# sourceMappingURL=compute_tight_near_far_clipping_planes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compute_tight_near_far_clipping_planes.d.ts","sourceRoot":"","sources":["../../../../../../src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,+DANW,MAAM,EAAE,iBACR,MAAM,cACN,MAAM,OACN,GAAG,WACH,MAAM,EAAE,GAAC,SAAS,CAAC,MAAM,CAAC,GAAC,YAAY,WA+LjD"}
1
+ {"version":3,"file":"compute_tight_near_far_clipping_planes.d.ts","sourceRoot":"","sources":["../../../../../../src/core/bvh2/bvh3/query/compute_tight_near_far_clipping_planes.js"],"names":[],"mappings":"AAWA;;;;;;;;GAQG;AACH,+DAPW,MAAM,EAAE,iBACR,MAAM,cACN,MAAM,OACN,GAAG,WACH,MAAM,EAAE,GAAC,SAAS,CAAC,MAAM,CAAC,GAAC,YAAY,GACrC,OAAO,CAgMnB"}
@@ -16,6 +16,7 @@ const scratch_frustum = new Float32Array(24);
16
16
  * @param {number} plane_mask if bit is set to 0, that plane is not allowed to move
17
17
  * @param {BVH} bvh
18
18
  * @param {number[]|ArrayLike<number>|Float32Array} frustum
19
+ * @returns {boolean} true iff planes were updated, false otherwise. If false is returned - result is not written
19
20
  */
20
21
  export function compute_tight_near_far_clipping_planes(
21
22
  result,
@@ -206,4 +207,5 @@ export function compute_tight_near_far_clipping_planes(
206
207
 
207
208
  array_copy(scratch_frustum, 0, result, result_offset, 24);
208
209
 
210
+ return true;
209
211
  }