Refactored factory and component system.

This commit is contained in:
2014-03-07 01:08:54 +01:00
parent 18197bf21d
commit e65db077d5
30 changed files with 313 additions and 284 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef Components_Transform_h__
#define Components_Transform_h__
#include "Component.h"
#include <glm/gtc/quaternion.hpp>
namespace Components
{
struct Transform : Component
{
glm::vec3 Position;
glm::quat Orientation;
glm::vec3 Velocity;
};
}
#endif // Components_Transform_h__