cubos::core::geom::Intersection struct

Contains info regarding an intersection between shapes.

Public variables

float penetration
Penetration depth of the collision. Always positive in the direction of the normal.
glm::vec3 normal
Normal of contact on the surface of the entity.