donmccurdy / three-pathfinding

Navigation mesh utilities for three.js, based on PatrolJS.
https://three-pathfinding.donmccurdy.com/
MIT License
1.22k stars 135 forks source link

Clean up API. #32

Open donmccurdy opened 6 years ago

donmccurdy commented 6 years ago

Lots of little details that should be polished, like:

const node = pathfinding.getClosestNode(a, ZONE);
const groupID = pathfinding.getGroup(ZONE, a);
donmccurdy commented 6 years ago

On second thought, I'd like to explore https://github.com/donmccurdy/three-pathfinding/issues/34 before making any breaking changes to the API here.