#include <MeshLODTri.h>
Public Member Functions | |
| MeshLODTri (MeshLODVector *v0, MeshLODVector *v1, MeshLODVector *v2) | |
| virtual | ~MeshLODTri () |
| void | computeNormal () |
| void | replaceVertex (MeshLODVector *vold, MeshLODVector *vnew) |
| bool | hasVertex (MeshLODVector *v) |
Public Attributes | |
| MeshLODVector * | vertex [3] |
| Vector | normal |
Definition at line 29 of file MeshLODTri.h.
| MeshLODTri::MeshLODTri | ( | MeshLODVector * | v0, | |
| MeshLODVector * | v1, | |||
| MeshLODVector * | v2 | |||
| ) |
Definition at line 34 of file MeshLODTri.cpp.
References MeshLODVector::addNeighbour(), computeNormal(), MeshLODVector::face, and vertex.
| MeshLODTri::~MeshLODTri | ( | ) | [virtual] |
Definition at line 54 of file MeshLODTri.cpp.
References MeshLODVector::removeFace(), MeshLODVector::removeIfNonNeighbor(), and vertex.
| void MeshLODTri::computeNormal | ( | ) |
Definition at line 75 of file MeshLODTri.cpp.
References normal, and vertex.
Referenced by MeshLODTri(), and replaceVertex().
| void MeshLODTri::replaceVertex | ( | MeshLODVector * | vold, | |
| MeshLODVector * | vnew | |||
| ) |
Definition at line 85 of file MeshLODTri.cpp.
References MeshLODVector::addNeighbour(), computeNormal(), DIALOG_ASSERT, MeshLODVector::face, MeshLODVector::removeFace(), MeshLODVector::removeIfNonNeighbor(), and vertex.
Referenced by MeshLODVector::collapseVertex().
| bool MeshLODTri::hasVertex | ( | MeshLODVector * | v | ) |
Definition at line 80 of file MeshLODTri.cpp.
References vertex.
Referenced by MeshLODVector::collapseVertex(), and MeshLODVector::removeIfNonNeighbor().
Definition at line 35 of file MeshLODTri.h.
Referenced by computeNormal(), hasVertex(), MeshLODTri(), replaceVertex(), and ~MeshLODTri().
1.5.3