Support Forum       G3D Web Page     
Public Types | Public Member Functions | Public Attributes | List of all members
G3D::TriTree::Hit Class Reference

Public Types

enum  { NONE = -1 }
 

Public Member Functions

 Hit ()
 

Public Attributes

bool backface
 For occlusion ray casts, this will always be false. More...
 
float distance
 
int triIndex
 NONE if no hit. More...
 
float u
 
float v
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NONE 

Constructor & Destructor Documentation

◆ Hit()

G3D::TriTree::Hit::Hit ( )
inline

Member Data Documentation

◆ backface

bool G3D::TriTree::Hit::backface

For occlusion ray casts, this will always be false.

◆ distance

float G3D::TriTree::Hit::distance

◆ triIndex

int G3D::TriTree::Hit::triIndex

NONE if no hit.

For occlusion ray casts, this will be an undefined value not equal to NONE.

◆ u

float G3D::TriTree::Hit::u

◆ v

float G3D::TriTree::Hit::v

documentation generated on Wed Nov 24 2021 08:02:01 using doxygen 1.8.15