coastline 0.0.4
Loading...
Searching...
No Matches
TrackTriangle Struct Reference

A triangle of the track with its plane. More...

#include <tricache.h>

Collaboration diagram for TrackTriangle:

Public Attributes

Vec3f normal
f32 planeOffset
Vec3f * vertices [3]
s16 index
u8 surface

Detailed Description

A triangle of the track with its plane.

Member Data Documentation

◆ normal

Vec3f TrackTriangle::normal

The unit normal of the plane of the triangle.

◆ planeOffset

f32 TrackTriangle::planeOffset

The plane is where the normal dotted with a point plus this is 0.

◆ vertices

Vec3f* TrackTriangle::vertices[3]

The three corners of the triangle, in the vertices of the track.

◆ index

s16 TrackTriangle::index

The index of the triangle in the track, for its TrackSurface and its nearby models.

◆ surface

u8 TrackTriangle::surface

The surface of the triangle, from the low 3 bits of its flags.


The documentation for this struct was generated from the following file: