12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef SPHERE_SHAPE_H
- #define SPHERE_SHAPE_H
- #include "scene/resources/shape.h"
- class SphereShape : public Shape {
- GDCLASS(SphereShape, Shape);
- float radius;
- protected:
- static void _bind_methods();
- virtual void _update_shape();
- virtual Vector<Vector3> _gen_debug_mesh_lines();
- public:
- void set_radius(float p_radius);
- float get_radius() const;
- SphereShape();
- };
- #endif
|