A renderable object which can be grouped with other triangles. More...
#include <polyhedron.h>
Inherits rtl_groupmem.
Constructs a triangle from the three vertices that are indicis into the table in the given polyhedron. The face normal is calculated assuming that the vertices are in clock-wise order.
Returns the index for the ith vertex in the triangle, i must be in 0..2.
Returns the material for this group member. Returns the default value from the base class if the index has not been set. The material returned depends if the last intersection hit the back face of the polygon.
Reimplemented from rtl_subobject.
Set the material for the back face.
[protected]
[protected]
[protected]
Reimplemented from rtl_subobject.
[protected]
Reimplemented from rtl_subobject.
[protected]
Reimplemented from rtl_subobject.
[protected]The face normal for the triangle.
[protected]Back face material for the triangle.
[protected]Non-major axis indices of polygon normal.
[protected]Non-major axis indices of polygon normal.
[protected]Discriminant of face direction.
[protected]Indices into the vertex array in the polyhedron.