diff options
Diffstat (limited to 'scene/resources/ray_shape.cpp')
-rw-r--r-- | scene/resources/ray_shape.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/ray_shape.cpp b/scene/resources/ray_shape.cpp index 3062e96293..1a9b7e6dd2 100644 --- a/scene/resources/ray_shape.cpp +++ b/scene/resources/ray_shape.cpp @@ -41,6 +41,10 @@ Vector<Vector3> RayShape::get_debug_mesh_lines() { return points; } +real_t RayShape::get_enclosing_radius() const { + return length; +} + void RayShape::_update_shape() { Dictionary d; |