summaryrefslogtreecommitdiff
path: root/scene/2d/ray_cast_2d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-05 00:59:21 +0100
committerGitHub <noreply@github.com>2021-03-05 00:59:21 +0100
commitbd9799e9f0a9a9c7d0dd22d5f3f520f450520caf (patch)
tree97c34cb2a140ae947e126ef985e1731c5172533f /scene/2d/ray_cast_2d.h
parent1eabeec680a4b00a3d2b97ac7a9cbc75bfbecd80 (diff)
parent90ca587281d9bd78e5b7f588b43f8c5e0857d277 (diff)
Merge pull request #46675 from fabriceci/improvement-raycast2d-debug-shape
Improving the Raycast2D debug Shape
Diffstat (limited to 'scene/2d/ray_cast_2d.h')
-rw-r--r--scene/2d/ray_cast_2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/ray_cast_2d.h b/scene/2d/ray_cast_2d.h
index dab3302e25..984c6bda49 100644
--- a/scene/2d/ray_cast_2d.h
+++ b/scene/2d/ray_cast_2d.h
@@ -51,6 +51,8 @@ class RayCast2D : public Node2D {
bool collide_with_areas = false;
bool collide_with_bodies = true;
+ void _draw_debug_shape();
+
protected:
void _notification(int p_what);
void _update_raycast_state();