Comparing version 2.3.0 to 2.3.1
@@ -0,0 +0,0 @@ import Vector2 from "./math/vector-2"; |
@@ -0,0 +0,0 @@ export interface Point { |
@@ -0,0 +0,0 @@ /** |
@@ -21,4 +21,7 @@ import { PolyPoints } from "../common-types"; | ||
* Defaults to assuming "truthy" means walkable. | ||
* @param [shrinkAmount=0] Amount to "shrink" the mesh away from the tiles. This adds more polygons | ||
* to the generated mesh, but can be helpful for preventing agents from getting caught on edges. | ||
* This supports values between 0 and tileWidth/tileHeight (whichever dimension is smaller). | ||
*/ | ||
export default function buildPolysFromGridMap<TileType>(map: TileType[][], tileWidth?: number, tileHeight?: number, isWalkable?: TileWalkableTest<TileType>, shrinkAmount?: number): PolyPoints[]; | ||
//# sourceMappingURL=build-polys-from-grid-map.d.ts.map |
@@ -0,0 +0,0 @@ export declare type TileWalkableTest<TileType> = (tile: TileType, x: number, y: number) => boolean; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ import { Point } from "../common-types"; |
@@ -0,0 +0,0 @@ import { Point } from "../common-types"; |
@@ -0,0 +0,0 @@ import Vector2 from "./vector-2"; |
@@ -0,0 +0,0 @@ import { Point } from "../common-types"; |
@@ -0,0 +0,0 @@ import { Point } from "../common-types"; |
@@ -0,0 +0,0 @@ import jsastar from "javascript-astar"; |
@@ -0,0 +0,0 @@ import NavPoly from "./navpoly"; |
@@ -0,0 +0,0 @@ import Line from "./math/line"; |
@@ -0,0 +0,0 @@ import { Point } from "./common-types"; |
{ | ||
"name": "navmesh", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "A library for fast pathfinding using navigation meshes in JS", | ||
@@ -55,3 +55,3 @@ "main": "dist/navmesh.js", | ||
"homepage": "https://github.com/mikewesthad/phaser-navmesh-plugin#readme", | ||
"gitHead": "3a3d21e259e67480fab9ec76c674d849855fa81f" | ||
"gitHead": "03190dcb4352d0d39c7e72f5d1af4b10dfb4f705" | ||
} |
@@ -27,2 +27,5 @@ import { Point, PolyPoints } from "../common-types"; | ||
* Defaults to assuming "truthy" means walkable. | ||
* @param [shrinkAmount=0] Amount to "shrink" the mesh away from the tiles. This adds more polygons | ||
* to the generated mesh, but can be helpful for preventing agents from getting caught on edges. | ||
* This supports values between 0 and tileWidth/tileHeight (whichever dimension is smaller). | ||
*/ | ||
@@ -29,0 +32,0 @@ export default function buildPolysFromGridMap<TileType>( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
196606
2023