Inherits Intersectable.
Public Member Functions | |
bool | intersect (const Ray &ray, float &depth, float rayMin, float rayMax) |
pure virtual function, must be implemented to carry out the intersection test | |
void | sampleSurface (Radion &radion) |
return a random surface point | |
Public Attributes | |
Vector | flatNormal |
triangle normal | |
float | hyperPlaneShiftOffset |
triangle plane offset | |
Vector | inverseVertexMatrix [3] |
Descartes to barycentric matrix. | |
unsigned short | vertexIndices [3] |
triangle vertex indices | |
Static Public Attributes | |
static Vector * | meshVertices = 0x0 |
a temporary reference to the owner TriangleMesh's vertex array | |
static Vector * | meshNormals = 0x0 |
a temporary reference to the owner TriangleMesh's normal array | |
static Vector * | meshTexCoords = 0x0 |
a temporary reference to the owner TriangleMesh's texcoord array |