Realization of a DtIntersectionCache that caches a previous intersection with a triangle.
More...
Detailed Description
Realization of a DtIntersectionCache that caches a previous intersection with a triangle.
Constructor & Destructor Documentation
| makVrv::DtTriangleIntersectionCache::DtTriangleIntersectionCache |
( |
| ) |
|
| virtual makVrv::DtTriangleIntersectionCache::~DtTriangleIntersectionCache |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtTriangleIntersectionCache::setCacheFromIntersectionResult |
( |
const DtIntersectorResult & |
result | ) |
|
|
virtual |
determine if a ray from a point in the specified direction intersects the currently cached triangle (and return the hit point and normal)
Implements makVrv::DtIntersectionCache.
Perform the actual ray/triangle intersection test.
Member Data Documentation
| bool makVrv::DtTriangleIntersectionCache::myCacheSet |
|
protected |
| DtVector makVrv::DtTriangleIntersectionCache::myVert0 |
|
protected |
| DtVector makVrv::DtTriangleIntersectionCache::myVert1 |
|
protected |
| DtVector makVrv::DtTriangleIntersectionCache::myVert2 |
|
protected |
| DtVector makVrv::DtTriangleIntersectionCache::myNormal |
|
protected |
The documentation for this class was generated from the following file: