PoolVector is gone, replaced by Vector
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
This commit is contained in:
parent
fb8c93c10b
commit
3205a92ad8
406 changed files with 5314 additions and 8271 deletions
|
|
@ -137,7 +137,7 @@ public:
|
|||
void set_point_weight_scale(int p_id, real_t p_weight_scale);
|
||||
void remove_point(int p_id);
|
||||
bool has_point(int p_id) const;
|
||||
PoolVector<int> get_point_connections(int p_id);
|
||||
Vector<int> get_point_connections(int p_id);
|
||||
Array get_points();
|
||||
|
||||
void set_point_disabled(int p_id, bool p_disabled = true);
|
||||
|
|
@ -155,8 +155,8 @@ public:
|
|||
int get_closest_point(const Vector3 &p_point, bool p_include_disabled = false) 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);
|
||||
Vector<Vector3> get_point_path(int p_from_id, int p_to_id);
|
||||
Vector<int> get_id_path(int p_from_id, int p_to_id);
|
||||
|
||||
AStar();
|
||||
~AStar();
|
||||
|
|
@ -179,7 +179,7 @@ public:
|
|||
void set_point_weight_scale(int p_id, real_t p_weight_scale);
|
||||
void remove_point(int p_id);
|
||||
bool has_point(int p_id) const;
|
||||
PoolVector<int> get_point_connections(int p_id);
|
||||
Vector<int> get_point_connections(int p_id);
|
||||
Array get_points();
|
||||
|
||||
void set_point_disabled(int p_id, bool p_disabled = true);
|
||||
|
|
@ -197,8 +197,8 @@ public:
|
|||
int get_closest_point(const Vector2 &p_point, bool p_include_disabled = false) const;
|
||||
Vector2 get_closest_position_in_segment(const Vector2 &p_point) const;
|
||||
|
||||
PoolVector<Vector2> get_point_path(int p_from_id, int p_to_id);
|
||||
PoolVector<int> get_id_path(int p_from_id, int p_to_id);
|
||||
Vector<Vector2> get_point_path(int p_from_id, int p_to_id);
|
||||
Vector<int> get_id_path(int p_from_id, int p_to_id);
|
||||
|
||||
AStar2D();
|
||||
~AStar2D();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue