1681-engine / index / simplifyPath
Function: simplifyPath() ​
ts
function simplifyPath(path): TilePoint[];Defined in: src/nav/straightenPath.ts:83
Drops the tiles a straight line already covers, so a trail is drawn as a few long legs rather than tile by tile.
Parameters ​
| Parameter | Type |
|---|---|
path | readonly TilePoint[] |