#include <Painter.h>
Inheritance diagram for Painter:
Public Member Functions | |
virtual | ~Painter () |
Virtual (emtpy) destructor defined to ensure that derived classes' destructors are invoked. | |
virtual void | paintModel (const Model &model, const Vector &eye, const Vector &light) const |
Iterate through all the Meshes of the given Model and paintMesh them. | |
virtual void | paintMesh (const Mesh &mesh, const Vector &eye, const Vector &light) const |
Iterate through all the Triangles of the given Mesh and paintTriangle them. | |
virtual void | paintTriangle (const Triangle &triangle, const Vector &eye, const Vector &light) const |
Iterate through all the Vertices of the given Triangle and render them. |
|
Iterate through all the Triangles of the given Mesh and paintTriangle them. The rendering is "flat", using the material color and detail texture (if any). |
|
Iterate through all the Vertices of the given Triangle and render them. The rendering is "flat", using the material color and detail texture (if any). |