![]() |
VR-Forces 5.0.2 Developer's Guide
|
Realization of a DtIntersectionCache that caches a previous intersection with a triangle.

Public Member Functions | |
| DtTriangleIntersectionCache () | |
| virtual | ~DtTriangleIntersectionCache () |
| virtual void | setCacheFromIntersectionResult (const DtIntersectorResult &result) |
| virtual bool | intersectWithCache (const DtVector &point, const DtVector &dir, DtVector &hitPoint, DtVector &hitNormal) |
Public Member Functions inherited from makVrv::DtIntersectionCache | |
| virtual | ~DtIntersectionCache () |
Protected Member Functions | |
| bool | intersectRayTriangle (const DtVector &point, const DtVector &dir, DtVector &hitPoint) |
Protected Member Functions inherited from makVrv::DtIntersectionCache | |
| DtIntersectionCache () | |
Protected Attributes | |
| bool | myCacheSet |
| DtVector | myVert0 |
| DtVector | myVert1 |
| DtVector | myVert2 |
| DtVector | myNormal |
| makVrv::DtTriangleIntersectionCache::DtTriangleIntersectionCache | ( | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
cache a triangle intersection result
Implements makVrv::DtIntersectionCache.
|
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.
|
protected |
Perform the actual ray/triangle intersection test.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |