summaryrefslogtreecommitdiff
path: root/scene/resources/sphere_shape_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/sphere_shape_3d.h')
-rw-r--r--scene/resources/sphere_shape_3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/sphere_shape_3d.h b/scene/resources/sphere_shape_3d.h
index ff6d883940..91d72e01ec 100644
--- a/scene/resources/sphere_shape_3d.h
+++ b/scene/resources/sphere_shape_3d.h
@@ -35,7 +35,7 @@
class SphereShape3D : public Shape3D {
GDCLASS(SphereShape3D, Shape3D);
- float radius;
+ float radius = 0.5f;
protected:
static void _bind_methods();
@@ -52,4 +52,4 @@ public:
SphereShape3D();
};
-#endif // SPHERE_SHAPE_H
+#endif // SPHERE_SHAPE_3D_H