Saga
Saga Game Engine
|
Collision struct that details a collision. More...
#include <collisionSystem.h>
Public Attributes | |
float | t |
time at which the collision happens. | |
glm::vec3 | pos |
position of the collision. | |
glm::vec3 | normal |
normal direction of the collision. | |
Entity | entity0 |
first Entity in the collision. | |
Entity | entity1 |
second Entity in the collision. The normal direction is away from this Entity. | |
Collision struct that details a collision.
Entity Saga::Systems::Collision::entity0 |
first Entity in the collision.
Entity Saga::Systems::Collision::entity1 |
second Entity in the collision. The normal direction is away from this Entity.
glm::vec3 Saga::Systems::Collision::normal |
normal direction of the collision.
glm::vec3 Saga::Systems::Collision::pos |
position of the collision.
float Saga::Systems::Collision::t |
time at which the collision happens.