Arty
Public Member Functions | Public Attributes | List of all members
Hit Struct Reference

Ray-triangle hit information. More...

#include <intersect.h>

Public Member Functions

 Hit (int32_t tri, float t, float u, float v)
 

Public Attributes

int32_t tri
 Triangle index, or -1 if no intersection was found.
 
float t
 Time of intersection.
 
float u
 First barycentric coordinate.
 
float v
 Second barycentric coordinate.
 

Detailed Description

Ray-triangle hit information.


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