CubbyFlow::BoundingBoxRayIntersection< T > Struct Template Reference
Box-ray intersection result. More...
#include <Core/Geometry/BoundingBox.hpp>
Public Attributes | |
bool | isIntersecting = false |
True if the box and ray intersects. More... | |
T | near = std::numeric_limits<T>::max() |
Distance to the first intersection point. More... | |
T | far = std::numeric_limits<T>::max() |
Distance to the second (and the last) intersection point. More... | |
Detailed Description
template<typename T>
struct CubbyFlow::BoundingBoxRayIntersection< T >
Box-ray intersection result.
- Template Parameters
-
T The value type.
Member Data Documentation
◆ far
template<typename T>
T CubbyFlow::BoundingBoxRayIntersection< T >::far = std::numeric_limits<T>::max() |
Distance to the second (and the last) intersection point.
◆ isIntersecting
template<typename T>
bool CubbyFlow::BoundingBoxRayIntersection< T >::isIntersecting = false |
True if the box and ray intersects.
◆ near
template<typename T>
T CubbyFlow::BoundingBoxRayIntersection< T >::near = std::numeric_limits<T>::max() |
Distance to the first intersection point.
The documentation for this struct was generated from the following file:
- Core/Geometry/BoundingBox.hpp