WIP ECS GUI

This commit is contained in:
2014-05-12 22:33:59 +02:00
parent b6372d44b8
commit ad19848c1b
9 changed files with 172 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef Events_CastRay_h__
#define Events_CastRay_h__
#include "EventBroker.h"
namespace Events
{
struct CastRay : Event
{
glm::vec3 Direction;
};
}
#endif // Events_CastRay_h__
+1
View File
@@ -9,6 +9,7 @@ namespace Events
struct MousePress : Event
{
int Button;
double X, Y;
};
}
+1
View File
@@ -9,6 +9,7 @@ namespace Events
struct MouseRelease : Event
{
int Button;
double X, Y;
};
}
+17
View File
@@ -0,0 +1,17 @@
#ifndef Events_RayIntersection_h__
#define Events_RayIntersection_h__
#include "EventBroker.h"
#include "Entity.h"
namespace Events
{
struct RayIntersection : Event
{
EntityID Entity;
};
}
#endif // Events_RayIntersection_h__