Moved Struct in InterpolationSystem.h and fixed bug.

This commit is contained in:
Jocke
2016-01-18 18:07:39 +01:00
parent 14b1d541dc
commit 3e90ed564c
2 changed files with 10 additions and 7 deletions
+8 -6
View File
@@ -12,15 +12,17 @@
#include "Network/EInterpolate.h"
struct Transform {
glm::vec3 Position;
glm::vec3 Scale;
glm::vec3 Orientation;
double interpolationTime;
};
class InterpolationSystem : public PureSystem
{
struct Transform
{
glm::vec3 Position;
glm::vec3 Scale;
glm::vec3 Orientation;
double interpolationTime;
};
public:
InterpolationSystem(EventBroker* eventbroker)
: PureSystem(eventbroker, "Transform")