diff options
| author | Bernhard Liebl | 2018-01-21 09:21:02 +0100 |
|---|---|---|
| committer | Bernhard Liebl | 2018-01-21 15:31:34 +0100 |
| commit | c1e099b48f7fe4dc114d10c49f2d49c58a91e40f (patch) | |
| tree | 6ece9362d1f20649fd89230c41395cb3c7cc4a84 /core/bind/core_bind.h | |
| parent | fa569210f5ef316177724169a42d2b82f4ab03d9 (diff) | |
| download | godot-c1e099b48f7fe4dc114d10c49f2d49c58a91e40f.tar.gz godot-c1e099b48f7fe4dc114d10c49f2d49c58a91e40f.tar.zst godot-c1e099b48f7fe4dc114d10c49f2d49c58a91e40f.zip | |
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 2353b6d09..e90a28339 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -347,6 +347,7 @@ public: PoolVector<Plane> build_cylinder_planes(float p_radius, float p_height, int p_sides, Vector3::Axis p_axis = Vector3::AXIS_Z); PoolVector<Plane> build_capsule_planes(float p_radius, float p_height, int p_sides, int p_lats, Vector3::Axis p_axis = Vector3::AXIS_Z); Variant segment_intersects_segment_2d(const Vector2 &p_from_a, const Vector2 &p_to_a, const Vector2 &p_from_b, const Vector2 &p_to_b); + Variant line_intersects_line_2d(const Vector2 &p_from_a, const Vector2 &p_dir_a, const Vector2 &p_from_b, const Vector2 &p_dir_b); PoolVector<Vector2> get_closest_points_between_segments_2d(const Vector2 &p1, const Vector2 &q1, const Vector2 &p2, const Vector2 &q2); PoolVector<Vector3> get_closest_points_between_segments(const Vector3 &p1, const Vector3 &p2, const Vector3 &q1, const Vector3 &q2); Vector2 get_closest_point_to_segment_2d(const Vector2 &p_point, const Vector2 &p_a, const Vector2 &p_b); |
