Merge remote-tracking branch 'origin/havok' into particles
Conflicts: src/Components/Vehicle.h
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#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__
|
||||
Reference in New Issue
Block a user