#include <PolygonalModel.h>
Inherits Object.
Inheritance diagram for PolygonalModel:


Public Methods | |
| PolygonalModel () | |
| PolygonalModel (const Mesh &mesh) | |
| int | size () |
| int | nVertices () |
| int | nFaces () |
| vector< Mesh > & | meshArray () |
| bool | empty () |
| void | clear () |
| void | merge (PolygonalModel &poly) |
| Mesh & | addMesh () |
| void | deleteMesh (Mesh *mesh) |
| void | splitMesh (Mesh &mesh) |
| . More... | |
| void | calculate () |
| void | calculateBound () |
| real | intersect (const Ray &ray, real t, real) |
| void | transform (Matrix4 &M) |
| float | collide (const CollisionHull &hull, Vertex3 &nearestIntersection) |
| void | render (RenderContext &rc, RenderContext::Visibility visibility=RenderContext::PartlyVisible) |
| real | intersect (const Ray &ray) const |
| void | write (WDFFile &f) |
| void | readChunk (WDFFile::Chunk &chunk, WDFFile &f) |
|
|
.
|