UNPKG

path-of-least-regret

Version:

Lightweight 2D polygon navmesh pathfinding: triangulation + A* + funnel + smoothing.

6 lines (5 loc) 135 B
import * as API from './api.js'; // Attach to window for non-module usage if(typeof window!=='undefined'){ window.NavMeshPF = API; }