summaryrefslogtreecommitdiff
path: root/scene/2d/ray_cast_2d.cpp
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 02:46:22 +0100
committerHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 02:46:22 +0100
commitb396fd4eef36d23fa7325b13a4b8e120f1f000c9 (patch)
treedab3f153b0ee03a4435bb293e68330b635d7787b /scene/2d/ray_cast_2d.cpp
parent36892b7fc8633d450dd54e2266147b7a5677bb97 (diff)
Improve compilation speed (forward declarations/includes cleanup)
Diffstat (limited to 'scene/2d/ray_cast_2d.cpp')
-rw-r--r--scene/2d/ray_cast_2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/ray_cast_2d.cpp b/scene/2d/ray_cast_2d.cpp
index 51b3e676f9..8b69d52c32 100644
--- a/scene/2d/ray_cast_2d.cpp
+++ b/scene/2d/ray_cast_2d.cpp
@@ -31,6 +31,7 @@
#include "ray_cast_2d.h"
#include "collision_object_2d.h"
+#include "scene/resources/world_2d.h"
void RayCast2D::set_target_position(const Vector2 &p_point) {
target_position = p_point;