summaryrefslogtreecommitdiff
path: root/core/math/a_star.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-20 13:22:47 +0200
committerGitHub <noreply@github.com>2017-09-20 13:22:47 +0200
commit372cdc20705dab7c2227b89d8bc4d425ffd3e8a4 (patch)
treea8811a50265edd940b00e12b9bd522e3e9b4694e /core/math/a_star.h
parentecd226c6a751f8a20766363fd1f2e1e0e2da8fba (diff)
parent5ad9be4c24e9d7dc5672fdc42cea896622fe5685 (diff)
Merge pull request #11153 from letheed/rename-pos
Rename pos/rot/loc/scl
Diffstat (limited to 'core/math/a_star.h')
-rw-r--r--core/math/a_star.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/a_star.h b/core/math/a_star.h
index 38d13d510b..2c1e2e2cf7 100644
--- a/core/math/a_star.h
+++ b/core/math/a_star.h
@@ -101,7 +101,7 @@ public:
int get_available_point_id() const;
void add_point(int p_id, const Vector3 &p_pos, real_t p_weight_scale = 1);
- Vector3 get_point_pos(int p_id) const;
+ Vector3 get_point_position(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;
@@ -114,7 +114,7 @@ public:
void clear();
int get_closest_point(const Vector3 &p_point) const;
- Vector3 get_closest_pos_in_segment(const Vector3 &p_point) const;
+ Vector3 get_closest_position_in_segment(const Vector3 &p_point) const;
PoolVector<Vector3> get_point_path(int p_from_id, int p_to_id);
PoolVector<int> get_id_path(int p_from_id, int p_to_id);