Stupid circular dependency fixed.

This commit is contained in:
2014-02-25 20:09:15 +01:00
parent 369ff782f1
commit 63337cf660
4 changed files with 17 additions and 8 deletions
+5 -1
View File
@@ -1,13 +1,17 @@
#ifndef Transform_h__
#define Transform_h__
#include "Component.h"
namespace Components
{
REGISTER_COMPONENT("Transform", Transform);
struct Transform : Component
{
float Position[3];
};
REGISTER_COMPONENT("Transform", Transform);
}
#endif // Transform_h__