CubbyFlow::BoundingBoxRayIntersection2< T > Struct Template Reference

2-D box-ray intersection result. More...

#include <Core/BoundingBox/BoundingBox2.h>

Public Attributes

bool isIntersecting = false
 True if the box and ray intersects. More...
 
near = std::numeric_limits<T>::max()
 Distance to the first intersection point. More...
 
far = std::numeric_limits<T>::max()
 Distance to the second (and the last) intersection point. More...
 

Detailed Description

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

2-D box-ray intersection result.

Template Parameters
T- The value type.

Member Data Documentation

◆ far

template<typename T>
T CubbyFlow::BoundingBoxRayIntersection2< T >::far = std::numeric_limits<T>::max()

Distance to the second (and the last) intersection point.

◆ isIntersecting

template<typename T>
bool CubbyFlow::BoundingBoxRayIntersection2< T >::isIntersecting = false

True if the box and ray intersects.

◆ near

template<typename T>
T CubbyFlow::BoundingBoxRayIntersection2< T >::near = std::numeric_limits<T>::max()

Distance to the first intersection point.


The documentation for this struct was generated from the following file: