|
coastline 0.0.4
|
A triangle of the track with its plane. More...
#include <tricache.h>

Public Attributes | |
| Vec3f | normal |
| f32 | planeOffset |
| Vec3f * | vertices [3] |
| s16 | index |
| u8 | surface |
A triangle of the track with its plane.
| Vec3f TrackTriangle::normal |
The unit normal of the plane of the triangle.
| f32 TrackTriangle::planeOffset |
The plane is where the normal dotted with a point plus this is 0.
| Vec3f* TrackTriangle::vertices[3] |
The three corners of the triangle, in the vertices of the track.
| s16 TrackTriangle::index |
The index of the triangle in the track, for its TrackSurface and its nearby models.
| u8 TrackTriangle::surface |
The surface of the triangle, from the low 3 bits of its flags.