@playcanvas/splat-transform 1.9.0 → 1.9.1

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.
@@ -8,6 +8,7 @@ interface KdTreeNode {
8
8
  declare class KdTree {
9
9
  centroids: DataTable;
10
10
  root: KdTreeNode;
11
+ private colData;
11
12
  constructor(centroids: DataTable);
12
13
  findNearest(point: Float32Array, filterFunc?: (index: number) => boolean): {
13
14
  index: number;
@@ -43,6 +43,12 @@ declare class Progress {
43
43
  * @param totalSteps - Total number of steps in the operation.
44
44
  */
45
45
  begin(totalSteps: number): void;
46
+ /**
47
+ * Cancel the current progress node, popping it from the stack without
48
+ * completing remaining steps. Use this before early exits (e.g. break)
49
+ * to keep the progress stack balanced.
50
+ */
51
+ cancel(): void;
46
52
  /**
47
53
  * Advance to the next step. Auto-increments the step counter.
48
54
  * Auto-ends when all steps are complete.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcanvas/splat-transform",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "author": "PlayCanvas<support@playcanvas.com>",
5
5
  "homepage": "https://playcanvas.com",
6
6
  "description": "Library and CLI tool for 3D Gaussian splat format conversion and transformation",