@recast-navigation/core 0.13.1 → 0.13.3

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.
@@ -52,12 +52,14 @@ export declare class NavMeshQuery {
52
52
  */
53
53
  getClosestPoint(position: Vector3, options?: {
54
54
  filter?: R.dtQueryFilter;
55
+ halfExtents?: Vector3;
55
56
  }): Vector3;
56
57
  /**
57
58
  * Returns a random point on the NavMesh within the given radius of the given position.
58
59
  */
59
60
  getRandomPointAround(position: Vector3, radius: number, options?: {
60
61
  filter?: R.dtQueryFilter;
62
+ halfExtents?: Vector3;
61
63
  }): Vector3;
62
64
  /**
63
65
  * Moves from the start to the end position constrained to the navigation mesh.
@@ -9,4 +9,4 @@ export type NavMeshImporterResult = {
9
9
  allocator: R.RecastLinearAllocator;
10
10
  compressor: R.RecastFastLZCompressor;
11
11
  };
12
- export declare const importNavMesh: (data: Uint8Array, tileCacheMeshProcess: TileCacheMeshProcess) => NavMeshImporterResult;
12
+ export declare const importNavMesh: (data: Uint8Array, tileCacheMeshProcess?: TileCacheMeshProcess) => NavMeshImporterResult;
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.13.1",
9
+ "version": "0.13.3",
10
10
  "license": "MIT",
11
11
  "homepage": "https://github.com/isaac-mason/recast-navigation-js",
12
12
  "bugs": {
@@ -25,26 +25,26 @@
25
25
  "test": "vitest run"
26
26
  },
27
27
  "dependencies": {
28
- "@recast-navigation/wasm": "0.13.1"
28
+ "@recast-navigation/wasm": "0.13.3"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@babel/core": "^7.22.11",
32
32
  "@rollup/plugin-commonjs": "^25.0.4",
33
33
  "@rollup/plugin-node-resolve": "^15.0.1",
34
34
  "@rollup/plugin-terser": "^0.4.3",
35
- "@rollup/plugin-typescript": "^11.1.2",
35
+ "@rollup/plugin-typescript": "^11.1.5",
36
36
  "@types/three": "^0.155.0",
37
37
  "@typescript-eslint/eslint-plugin": "^5.7.0",
38
38
  "@typescript-eslint/parser": "^6.7.3",
39
39
  "babel-loader": "^9.1.3",
40
- "eslint": "^8.49.0",
40
+ "eslint": "^8.51.0",
41
41
  "eslint-config-airbnb": "^18.2.1",
42
42
  "eslint-config-airbnb-base": "^15.0.0",
43
43
  "eslint-config-prettier": "^9.0.0",
44
44
  "eslint-import-resolver-typescript": "^3.5.5",
45
45
  "eslint-plugin-es": "^4.1.0",
46
46
  "eslint-plugin-import": "^2.28.0",
47
- "eslint-plugin-prettier": "^5.0.0",
47
+ "eslint-plugin-prettier": "^5.0.1",
48
48
  "eslint-plugin-simple-import-sort": "^10.0.0",
49
49
  "eslint-plugin-typescript-enum": "^2.1.0",
50
50
  "prettier": "^3.0.2",