WIP ECS GUI
This commit is contained in:
@@ -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__
|
||||
@@ -9,6 +9,7 @@ namespace Events
|
||||
struct MousePress : Event
|
||||
{
|
||||
int Button;
|
||||
double X, Y;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace Events
|
||||
struct MouseRelease : Event
|
||||
{
|
||||
int Button;
|
||||
double X, Y;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -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__
|
||||
Reference in New Issue
Block a user