You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Enchance the performance of AStar by using a LocalVector(2)
This commit is contained in:
@@ -124,7 +124,7 @@ private: // Internal routines.
|
||||
return &points[p_y][p_x];
|
||||
}
|
||||
|
||||
void _get_nbors(Point *p_point, List<Point *> &r_nbors);
|
||||
void _get_nbors(Point *p_point, LocalVector<Point *> &r_nbors);
|
||||
Point *_jump(Point *p_from, Point *p_to);
|
||||
bool _solve(Point *p_begin_point, Point *p_end_point);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user