@recast-navigation/core 0.14.0 → 0.15.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.
- package/dist/crowd.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/recast.d.ts +4 -13
- package/package.json +2 -2
package/dist/recast.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Vector3Tuple } from 'three';
|
|
2
2
|
import type R from './raw-module';
|
|
3
3
|
import { Vector2Tuple, Vector3 } from './utils';
|
|
4
|
-
export type
|
|
4
|
+
export type RecastConfig = {
|
|
5
5
|
/**
|
|
6
6
|
* The size of the non-navigable border around the heightfield.
|
|
7
7
|
* [Limit: >=0] [Units: vx]
|
|
@@ -11,11 +11,6 @@ export type RecastConfigType = {
|
|
|
11
11
|
/**
|
|
12
12
|
* The width/height size of tile's on the xz-plane.
|
|
13
13
|
* [Limit: >= 0] [Units: vx]
|
|
14
|
-
*
|
|
15
|
-
* If tileSize is provided, a tiled navmesh will be created.
|
|
16
|
-
* If tileSize is not provided, or is set to zero, a solo navmesh will be created.
|
|
17
|
-
*
|
|
18
|
-
* To use obstacles, a tiled navmesh must be generated.
|
|
19
14
|
* @default 0
|
|
20
15
|
*/
|
|
21
16
|
tileSize: number;
|
|
@@ -98,13 +93,9 @@ export type RecastConfigType = {
|
|
|
98
93
|
*/
|
|
99
94
|
detailSampleMaxError: number;
|
|
100
95
|
};
|
|
101
|
-
export declare const recastConfigDefaults:
|
|
102
|
-
export declare
|
|
103
|
-
|
|
104
|
-
constructor(raw: R.rcConfig);
|
|
105
|
-
static create(partialConfig: Partial<RecastConfigType>): RecastConfig;
|
|
106
|
-
clone(): RecastConfig;
|
|
107
|
-
}
|
|
96
|
+
export declare const recastConfigDefaults: RecastConfig;
|
|
97
|
+
export declare const createRcConfig: (partialConfig: Partial<RecastConfig>) => R.rcConfig;
|
|
98
|
+
export declare const cloneRcConfig: (rcConfig: R.rcConfig) => R.rcConfig;
|
|
108
99
|
export declare class RecastBuildContext {
|
|
109
100
|
raw: R.RecastBuildContext;
|
|
110
101
|
logs: Array<{
|
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.
|
|
9
|
+
"version": "0.15.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
|
|
12
12
|
"bugs": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "rollup --config rollup.config.js --bundleConfigAsCjs"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@recast-navigation/wasm": "0.
|
|
27
|
+
"@recast-navigation/wasm": "0.15.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/core": "^7.22.11",
|