457ee84903
Conflicts: src/Components/Vehicle.h
24 lines
343 B
C++
24 lines
343 B
C++
#ifndef Components_Box_h__
|
|
#define Components_Box_h__
|
|
|
|
#include "Component.h"
|
|
|
|
namespace Components
|
|
{
|
|
|
|
struct BoxShape : Component
|
|
{
|
|
BoxShape()
|
|
: Width(1.f), Height(1.f), Depth(1.f){ }
|
|
|
|
float Width;
|
|
float Height;
|
|
float Depth;
|
|
|
|
virtual BoxShape* Clone() const override { return new BoxShape(*this); }
|
|
};
|
|
|
|
}
|
|
|
|
#endif // Components_Box_h__
|