diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-07-11 16:45:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-11 16:45:38 +0200 |
commit | faae28c9551a8e57577762e8e7ed84d0d66c0744 (patch) | |
tree | 16ab5ef08aae7a816196033cf0f969729db87c10 /core/math/a_star.h | |
parent | b708546f50f82672caf79fcf5561b21801a5f103 (diff) | |
parent | 2c9f6312e2d737be76a0ed14ae87df31a96e73a4 (diff) |
Merge pull request #9607 from Noshyaar/astar
AStar: add bool has_point(id)
Diffstat (limited to 'core/math/a_star.h')
-rw-r--r-- | core/math/a_star.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/a_star.h b/core/math/a_star.h index 34a5358344..ebf1407c17 100644 --- a/core/math/a_star.h +++ b/core/math/a_star.h @@ -104,6 +104,7 @@ public: Vector3 get_point_pos(int p_id) const; real_t get_point_weight_scale(int p_id) const; void remove_point(int p_id); + bool has_point(int p_id) const; void connect_points(int p_id, int p_with_id, bool bidirectional = true); void disconnect_points(int p_id, int p_with_id); |