dispinfo

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2023 License: Unlicense Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const MaxDispCornerNeighbours = 4

MaxDispCornerNeighbours maximum number of adjoining neigherbours per corner.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispCornerNeighbors

type DispCornerNeighbors struct {
	// Neighbors
	Neighbors [MaxDispCornerNeighbours]uint16
	// NumNeighbors is number of neighbours
	NumNeighbors uint8
}

DispCornerNeighbors

type DispInfo

type DispInfo struct {
	// StartPosition
	StartPosition mgl32.Vec3
	// DispVertStart
	DispVertStart int32
	// DispTriStart
	DispTriStart int32
	// Power
	Power int32
	// MinTess
	MinTess int32
	// SmoothingAngle
	SmoothingAngle float32
	// Contents
	Contents int32
	// MapFace
	MapFace uint16

	// LightmapAlphaStart
	LightmapAlphaStart int32
	// LightmapSampleStartPosition
	LightmapSampleStartPosition int32
	// Ignore contains bytes with unknown purpose and representation. This should be updated as purpose id discovered
	Ignore [32]uint32
	// contains filtered or unexported fields
}

DispInfo

type DispNeighbor

type DispNeighbor struct {
	// SubNeighbours
	SubNeighbours [2]DispSubNeighbor
}

DispNeighbor

type DispSubNeighbor

type DispSubNeighbor struct {
	// Index
	// 0xFFFF if no neighbor
	Index uint16
	// NeighborOrientation
	NeighborOrientation uint8
	// Span
	Span uint8
	// NeighborSpan
	NeighborSpan uint8
}

DispSubNeighbor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL