@recast-navigation/playcanvas 0.41.0 → 0.42.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.
- package/dist/index.mjs +2 -2
- package/dist/utils/generators.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -612,9 +612,9 @@ const pcToTiledNavMesh = (meshes, navMeshGeneratorConfig = {}, keepIntermediates
|
|
|
612
612
|
const [positions, indices] = getPositionsAndIndices(meshes);
|
|
613
613
|
return generateTiledNavMesh(positions, indices, navMeshGeneratorConfig, keepIntermediates);
|
|
614
614
|
};
|
|
615
|
-
const
|
|
615
|
+
const pcToTileCache = (meshes, navMeshGeneratorConfig = {}, keepIntermediates = false) => {
|
|
616
616
|
const [positions, indices] = getPositionsAndIndices(meshes);
|
|
617
617
|
return generateTileCache(positions, indices, navMeshGeneratorConfig, keepIntermediates);
|
|
618
618
|
};
|
|
619
619
|
|
|
620
|
-
export { CrowdHelper, DebugDrawer, NavMeshHelper, TileCacheHelper, getPositionsAndIndices, pcToSoloNavMesh,
|
|
620
|
+
export { CrowdHelper, DebugDrawer, NavMeshHelper, TileCacheHelper, getPositionsAndIndices, pcToSoloNavMesh, pcToTileCache, pcToTiledNavMesh };
|
|
@@ -2,4 +2,4 @@ import { type SoloNavMeshGeneratorConfig, type TileCacheGeneratorConfig, type Ti
|
|
|
2
2
|
import type { MeshInstance } from 'playcanvas';
|
|
3
3
|
export declare const pcToSoloNavMesh: (meshes: MeshInstance[], navMeshGeneratorConfig?: Partial<SoloNavMeshGeneratorConfig>, keepIntermediates?: boolean) => import("@recast-navigation/generators").GenerateSoloNavMeshResult;
|
|
4
4
|
export declare const pcToTiledNavMesh: (meshes: MeshInstance[], navMeshGeneratorConfig?: Partial<TiledNavMeshGeneratorConfig>, keepIntermediates?: boolean) => import("@recast-navigation/generators").GenerateTiledNavMeshResult;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const pcToTileCache: (meshes: MeshInstance[], navMeshGeneratorConfig?: Partial<TileCacheGeneratorConfig>, keepIntermediates?: boolean) => import("@recast-navigation/generators").TileCacheGeneratorResult;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recast-navigation/playcanvas",
|
|
3
3
|
"description": "Utilities for using recast-navigation with PlayCanvas",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.42.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
|
|
7
7
|
"bugs": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"test": "tsc"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@recast-navigation/core": "0.
|
|
25
|
-
"@recast-navigation/generators": "0.
|
|
24
|
+
"@recast-navigation/core": "0.42.0",
|
|
25
|
+
"@recast-navigation/generators": "0.42.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "^7.28.0",
|