TriAccelTriangle Struct Reference
Public Member Functions | |
auto | Load (const Vec3 &A, const Vec3 &B, const Vec3 &C) -> int |
auto | Intersect (const Ray &ray, Float mint, Float maxt, Float &u, Float &v, Float &t) const -> bool |
Public Attributes | |
uint32_t | k |
Float | n_u |
Float | n_v |
Float | n_d |
Float | a_u |
Float | a_v |
Float | b_nu |
Float | b_nv |
Float | c_nu |
Float | c_nv |
uint32_t | faceIndex |
uint32_t | primIndex |