1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add Dijkstra A* and A* without prefetching pathfind algorithms

This commit is contained in:
sapier 2013-03-17 17:03:44 +00:00 committed by kwolekr
parent 97f0bb0342
commit 69367aa799
8 changed files with 1540 additions and 1 deletions

View file

@ -298,6 +298,9 @@ public:
// This makes stuff happen
void step(f32 dtime);
//check if there's a line of sight between two positions
bool line_of_sight(v3f pos1, v3f pos2, float stepsize=1.0);
private:
/*