Jet  v1.3.3
Public Attributes | List of all members
jet::BoundingBoxRayIntersection3< T > Struct Template Reference

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

#include <jet/bounding_box3.h>

Public Attributes

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

Detailed Description

template<typename T>
struct jet::BoundingBoxRayIntersection3< T >

3-D box-ray intersection result.

Template Parameters
TThe value type.

Member Data Documentation

◆ isIntersecting

template<typename T >
bool jet::BoundingBoxRayIntersection3< T >::isIntersecting = false

True if the box and ray intersects.

◆ tFar

template<typename T >
T jet::BoundingBoxRayIntersection3< T >::tFar = std::numeric_limits<T>::max()

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

◆ tNear

template<typename T >
T jet::BoundingBoxRayIntersection3< T >::tNear = std::numeric_limits<T>::max()

Distance to the first intersection point.


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