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

intersection avec un triangle. More...

Public Member Functions

 Hit (const Ray &ray)
 
 Hit (const float _t, const float _u, const float _v, const int _id)
 
 operator bool ()
 
 Hit (const Ray &ray)
 
 Hit (const float _t, const float _u, const float _v, const int _mesh_id, const int _primitive_id, const int _id)
 
 operator bool ()
 
 Hit (const Ray &ray)
 
 Hit (const float _t, const float _u, const float _v, const int _mesh_id, const int _primitive_id, const int _id)
 
 operator bool ()
 
 Hit (const Ray &ray)
 
 Hit (const float _t, const float _u, const float _v, const int _mesh_id, const int _primitive_id, const int _id)
 
 operator bool ()
 
 Hit (const float _t, const float _u, const float _v, const int _id)
 
 operator bool ()
 

Public Attributes

float t
 
float u
 
float v
 
int instance_id
 
int triangle_id
 
int mesh_id
 
int primitive_id
 
int pad
 
Point p
 
Vector n
 
int object_id
 

Detailed Description

intersection avec un triangle.

Definition at line 32 of file tuto_bvh2.cpp.


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