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:
parent
97f0bb0342
commit
69367aa799
8 changed files with 1540 additions and 1 deletions
|
@ -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:
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue