|
gKit2 light
|
Public Member Functions | |
| int | build (const BBox &_bounds, const std::vector< Triangle > &_triangles) |
| void | intersect (RayHit &ray) const |
| void | intersect_fast (RayHit &ray) const |
Public Attributes | |
| std::vector< Node > | nodes |
| std::vector< Triangle > | triangles |
| int | root |
| int | direct_tests |
Protected Member Functions | |
| int | build (const BBox &bounds, const int begin, const int end) |
| BBox | triangle_bounds (const int begin, const int end) |
| void | intersect (const int index, RayHit &ray, const Vector &invd) const |
| void | intersect_fast (const int index, RayHit &ray, const Vector &invd) const |
Definition at line 180 of file tuto_bvh.cpp.