52 void Set(
int nSlice,
int nRing,
int bEndCap,
int bStartCap);
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Chain of generated meshes, one per level of detail, that deletes its meshes with itself.
Definition lodmesh.h:29
void Set(int nSlice, int nRing, int bEndCap, int bStartCap)
Place the section on a slice and ring, marking it dirty.
int mDirty
Definition tunnelseeksection.h:93
void Invalidate()
Remove the section from its slice, marking it dirty.
int mEndCap
Definition tunnelseeksection.h:94
int mStartCap
Definition tunnelseeksection.h:95
int mRing
Definition tunnelseeksection.h:97
TunnelSeekSection()
Construct an unplaced section.
int mSlice
Definition tunnelseeksection.h:98
void Update(Tunnel *pTunnel, const Color &color)
Copy the geometry of the tunnel cell the section is placed on and clear mDirty.
LodMesh mMeshes
Definition tunnelseeksection.h:96
void Build(const HxStr &name, const LodMesh &templates)
Create one mesh per level of the tunnel's first cell, sharing that cell's triangles.
Procedural tunnel the game flies the player through.
Definition tunnel.h:72
The rendering engine.
Definition animhelper.h:3
constexpr int kTunnelSeekNoSlice
Slice value of a TunnelSeekSection that is not placed.
Definition tunnelseeksection.h:13
Linear colour with four float components.
Definition color.h:10