#include <RT_Prim.h>
Inheritance diagram for RT_Tri:
Public Members | |||
Void | Init (Int v1, Int v2, Int v3, RT_Object *obj, Int triID) | ||
Bool | PointIsInside (Point &p) | ||
Void | FindBaryCoords (Point &p, Vector &coords) | ||
Void | UpdateBounds (Point &min, Point &max) | ||
Void | MakeNormal () | ||
Void | Draw () | ||
Point& | Vertex (Int i) | ||
Int | v [3] | ||
Vector | normal | ||
Float | d | ||
Byte | normMajorAxis |
Definition at line 94 of file RT_Prim.h.
Void RT_Tri::Draw () |
Void RT_Tri::FindBaryCoords (Point & point, Vector & coords) |
Definition at line 110 of file RT_Prim.cc.
Void RT_Tri::Init (Int v1, Int v2, Int v3, RT_Object * obj, Int triID) |
Definition at line 20 of file RT_Prim.cc.
Void RT_Tri::MakeNormal () |
Definition at line 163 of file RT_Prim.cc.
Bool RT_Tri::PointIsInside (Point & point) |
Definition at line 45 of file RT_Prim.cc.
Void RT_Tri::UpdateBounds (Point & min, Point & max) |
Definition at line 153 of file RT_Prim.cc.
Point & RT_Tri::Vertex (Int i) [inline]
|
Float RT_Tri::d |
Byte RT_Tri::normMajorAxis |
Vector RT_Tri::normal |
Int RT_Tri::v[3] |