Merge branch 'master' of github.com:sippeangelo/Escape-the-Dawn
Conflicts: Escape-the-Dawn/Escape-the-Dawn.vcxproj Escape-the-Dawn/Escape-the-Dawn.vcxproj.filters
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef Transform_h__
|
||||
#define Transform_h__
|
||||
|
||||
#include "Component.h"
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct Transform : Component
|
||||
{
|
||||
float Position[3];
|
||||
glm::fquat qtrn; //Quaternion with floats
|
||||
float Velocity[3];
|
||||
};
|
||||
REGISTER_COMPONENT("Transform", Transform);
|
||||
|
||||
}
|
||||
#endif // Transform_h__
|
||||
Reference in New Issue
Block a user