Documentation
¶
Overview ¶
Package track defines Hover track data structure and provides loading functionality.
Index ¶
Constants ¶
View Source
const (
// TerrHeightScale is the scale factor for terrain height.
TerrHeightScale = 1.0 / 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
SunlightDirection, SunlightPitch float32
RacerStartPositions [8][3]float32
NumTerrTypes uint16
NumTerrTypeNodes uint16
Width, Depth uint16
}
Header of a track file.
type NavCoordLookupNode ¶
type NavCoordLookupNode struct {}
NavCoordLookupNode is a navigation coordinate lookup node.
type TerrTypeNode ¶
type TerrTypeNode struct { Type uint8 NextStartX uint16 Next uint16 // contains filtered or unexported fields }
TerrTypeNode is a terrain type node.
Click to show internal directories.
Click to hide internal directories.