Files
squidout/include/Physics/EContact.h
T
2015-10-08 18:19:15 +02:00

31 lines
449 B
C++

//
// Created by Viktor on 10/09/2015.
//
#ifndef Events_ECONTACT_h__
#define Events_ECONTACT_h__
#include <glm/detail/type_vec.hpp>
#include "Core/EventBroker.h"
#include "Core/Entity.h"
namespace dd
{
namespace Events
{
struct Contact : Event
{
EntityID Entity1;
EntityID Entity2;
glm::vec2 IntersectionPoint;
glm::vec2 Normal;
glm::vec2 SignificantNormal;
};
}
}
#endif //Events_ECONTACT_h__