@recast-navigation/core 0.14.0 → 0.15.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/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 RecastConfigType = {
4
+ export type RecastConfig = {
5
5
  /**
6
6
  * The size of the non-navigable border around the heightfield.
7
7
  * [Limit: >=0] [Units: vx]
@@ -98,13 +98,9 @@ export type RecastConfigType = {
98
98
  */
99
99
  detailSampleMaxError: number;
100
100
  };
101
- export declare const recastConfigDefaults: RecastConfigType;
102
- export declare class RecastConfig {
103
- raw: R.rcConfig;
104
- constructor(raw: R.rcConfig);
105
- static create(partialConfig: Partial<RecastConfigType>): RecastConfig;
106
- clone(): RecastConfig;
107
- }
101
+ export declare const recastConfigDefaults: RecastConfig;
102
+ export declare const createRcConfig: (partialConfig: Partial<RecastConfig>) => R.rcConfig;
103
+ export declare const cloneRcConfig: (rcConfig: R.rcConfig) => R.rcConfig;
108
104
  export declare class RecastBuildContext {
109
105
  raw: R.RecastBuildContext;
110
106
  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.14.0",
9
+ "version": "0.15.0",
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.14.0"
27
+ "@recast-navigation/wasm": "0.15.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/core": "^7.22.11",