summaryrefslogtreecommitdiff
path: root/scene/resources/ray_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/ray_shape_3d.cpp')
-rw-r--r--scene/resources/ray_shape_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/ray_shape_3d.cpp b/scene/resources/ray_shape_3d.cpp
index 17205a500a..39df4c22f9 100644
--- a/scene/resources/ray_shape_3d.cpp
+++ b/scene/resources/ray_shape_3d.cpp
@@ -32,7 +32,7 @@
#include "servers/physics_server_3d.h"
-Vector<Vector3> RayShape3D::get_debug_mesh_lines() {
+Vector<Vector3> RayShape3D::get_debug_mesh_lines() const {
Vector<Vector3> points;
points.push_back(Vector3());
points.push_back(Vector3(0, 0, get_length()));