Saga
Saga Game Engine
|
#include <glm/vec3.hpp>
#include <optional>
Go to the source code of this file.
Namespaces | |
namespace | Saga |
namespace | Saga::Geometry |
Functions | |
std::optional< float > | Saga::Geometry::rayBoxCollision (glm::vec3 rayOrigin, glm::vec3 rayDir, glm::vec3 cornerBotLeft, glm::vec3 cornerTopRight) |
Find the intersection time t between a ray and a box. | |