@recast-navigation/core 0.5.0 → 0.6.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.
@@ -37,11 +37,6 @@ export declare class NavMeshStoreTileStateResult {
37
37
  dataSize(): number;
38
38
  destroy(): void;
39
39
  }
40
- export declare class DebugNavMesh {
41
- positions: number[];
42
- indices: number[];
43
- constructor(navMesh: NavMesh);
44
- }
45
40
  export type NavMeshParams = {
46
41
  orig: Vector3;
47
42
  tileWidth: number;
@@ -233,9 +228,9 @@ export declare class NavMesh {
233
228
  */
234
229
  restoreTileState(tile: DetourMeshTile, data: number[], maxDataSize: number): number;
235
230
  /**
236
- * Returns a DebugNavMesh that can be used to visualize the NavMesh.
231
+ * Returns a triangle mesh that can be used to visualize the NavMesh.
237
232
  */
238
- getDebugNavMesh(): DebugNavMesh;
233
+ getDebugNavMesh(): [positions: number[], indices: number[]];
239
234
  /**
240
235
  * Destroys the NavMesh.
241
236
  */
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "email": "isaac@isaacmason.com",
7
7
  "url": "https://isaacmason.com/"
8
8
  },
9
- "version": "0.5.0",
9
+ "version": "0.6.0",
10
10
  "license": "MIT",
11
11
  "homepage": "https://github.com/isaac-mason/recast-navigation-js",
12
12
  "bugs": {
@@ -25,7 +25,7 @@
25
25
  "test": "vitest run"
26
26
  },
27
27
  "dependencies": {
28
- "@recast-navigation/wasm": "0.5.0"
28
+ "@recast-navigation/wasm": "0.6.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@babel/core": "^7.22.11",