Loading...
Searching...
No Matches
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.
 
T near = std::numeric_limits<T>::max()
 Distance to the first intersection point.
 
T far = std::numeric_limits<T>::max()
 Distance to the second (and the last) intersection point.
 

Detailed Description

template<typename T>
struct CubbyFlow::BoundingBoxRayIntersection< T >

Box-ray intersection result.

Template Parameters
TThe 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: