aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/capsule_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/capsule_shape.h')
-rw-r--r--scene/resources/capsule_shape.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/scene/resources/capsule_shape.h b/scene/resources/capsule_shape.h
index e788d9cfc..ecffdd8ce 100644
--- a/scene/resources/capsule_shape.h
+++ b/scene/resources/capsule_shape.h
@@ -33,25 +33,23 @@
class CapsuleShape : public Shape {
- GDCLASS(CapsuleShape,Shape);
+ GDCLASS(CapsuleShape, Shape);
float radius;
float height;
protected:
-
static void _bind_methods();
virtual void _update_shape();
virtual Vector<Vector3> _gen_debug_mesh_lines();
-public:
+public:
void set_radius(float p_radius);
float get_radius() const;
void set_height(float p_height);
float get_height() const;
-
CapsuleShape();
};