Car physics not working, yet!

This commit is contained in:
ViktorLjung
2014-04-16 01:33:05 +02:00
parent 1697627f69
commit 069d079594
10 changed files with 535 additions and 15 deletions
+2 -1
View File
@@ -9,9 +9,10 @@ namespace Components
struct Physics : Component
{
Physics()
: Mass(0.f) { }
: Mass(0.f), Static(false){}
float Mass;
bool Static;
};
}
+16
View File
@@ -0,0 +1,16 @@
#ifndef Components_Vehicle_h__
#define Components_Vehicle_h__
#include "Component.h"
namespace Components
{
struct Vehicle : Component
{
};
}
#endif // Components_Vehicle_h__