|
resonance 1.0.1
|
A mesh of a Rnd::Tunnel keyed by its squared distance from an eye point. More...
#include <tunnelsortentry.h>

Public Member Functions | |
| TunnelSortEntry (Mesh *pMesh, int nIndex, const Vector3 &eye) | |
| Key a mesh by the squared distance from eye to the midpoint of its first two vertices. | |
Public Attributes | |
| float | mDistanceSq |
| Mesh * | mMesh |
| int | mIndex |
A mesh of a Rnd::Tunnel keyed by its squared distance from an eye point.
The record is 0xc bytes and has no RTTI. Its only trace is the out-of-line copy of its constructor, which sits in the Rnd::Tunnel unit and has no callers, so the name is inferred from what the constructor computes.
Key a mesh by the squared distance from eye to the midpoint of its first two vertices.
The vertices are those of the mesh's mVertsOwner.
| pMesh | The mesh. |
| nIndex | A word stored alongside. |
| eye | The eye point. |
| float Rnd::TunnelSortEntry::mDistanceSq |
The squared distance from the eye.
| Mesh* Rnd::TunnelSortEntry::mMesh |
The mesh.
| int Rnd::TunnelSortEntry::mIndex |
The word stored alongside.