|
coastline 0.0.4
|
A model placed on the track. More...
#include <track.h>

Public Attributes | |
| union { | |
| f32 matrix [4][4] | |
| struct { | |
| Vec3f vector | |
| f32 w | |
| } rows [4] | |
| }; | |
| f32 | invScale |
| Gfx * | displayList |
| u16 | groups |
| u16 | hidesGroups |
| u16 | flags |
| u16 | vertexCount |
| u16 | triangleCount |
| u16 | polygonCount |
A model placed on the track.
Its fields join this structure as they are reconstructed.
| f32 TrackInstance::matrix[4][4] |
Where and how the model is placed.
| Vec3f TrackInstance::vector |
The first three components of a matrix row.
| f32 TrackInstance::w |
The fourth component of a matrix row.
| struct { ... } TrackInstance::rows[4] |
The placement matrix as four rows.
| union { ... } TrackInstance |
| f32 TrackInstance::invScale |
One over the length of the x axis of the matrix, the inverse of the scale.
| Gfx* TrackInstance::displayList |
The display list that draws the model.
| u16 TrackInstance::groups |
The groups of the model, hidden near a model that hides them.
| u16 TrackInstance::hidesGroups |
The groups the model hides while a ray from the camera hits it.
| u16 TrackInstance::flags |
The TRACK_INSTANCE_ flags.
| u16 TrackInstance::vertexCount |
The number of vertices of the model, for the counts of a frame.
| u16 TrackInstance::triangleCount |
The number of triangles of the model, for the counts of a frame.
| u16 TrackInstance::polygonCount |
The number of polygons of the model, for the counts of a frame.