457ee84903
Conflicts: src/Components/Vehicle.h
22 lines
312 B
C++
22 lines
312 B
C++
#ifndef Components_Sphere_h__
|
|
#define Components_Sphere_h__
|
|
|
|
#include "Component.h"
|
|
|
|
namespace Components
|
|
{
|
|
|
|
struct SphereShape : Component
|
|
{
|
|
SphereShape()
|
|
: Radius(1.f){ }
|
|
|
|
float Radius;
|
|
|
|
virtual SphereShape* Clone() const override { return new SphereShape(*this); }
|
|
};
|
|
|
|
}
|
|
|
|
#endif // Components_Sphere_h__
|