Components + almost AABB

This commit is contained in:
Adam
2014-03-06 21:32:31 +01:00
parent 54a5a7a113
commit 00584ab397
21 changed files with 401 additions and 11 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef Input_h__
#define Input_h__
#include "Component.h"
#include <GLFW/glfw3.h>
namespace Components
{
struct Input : Component
{
int KeyState[GLFW_KEY_LAST];
float MouseState[2];
float dX, dY;
};
REGISTER_COMPONENT("Input", Input);
}
#endif // !Input_h__