Log inGet started
Package

route.module

README.md

stormFrontKit.route

Pure polyline maths for a front's route: Route.new(points) builds a route from an ordered list of points ({x,y,z} tables or vectors); route:length(), route:sample(s) (position and horizontal forward at s metres along), and route:project(pos) (how far along the route a world position stands, and how far off it). Route.pointsFrom(spec) turns entity names, a parent entity (its children in name order) or a list of points into a point list. No engine state; tested by the stormFrontKit test suite.