esp::nav::ShortestPath struct

Struct for shortest path finding. Used in conjunction with PathFinder::findPath.

Contents

Public variables

vec3f requestedStart
The starting point for the path.
vec3f requestedEnd
The ending point for the path.
std::vector<vec3f> points
A list of points that specify the shortest path on the navigation mesh between requestedStart and requestedEnd.
float geodesicDistance
The geodesic distance between requestedStart and requestedEnd.

Variable documentation

std::vector<vec3f> esp::nav::ShortestPath::points

A list of points that specify the shortest path on the navigation mesh between requestedStart and requestedEnd.

float esp::nav::ShortestPath::geodesicDistance

The geodesic distance between requestedStart and requestedEnd.