common

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2018 License: Unlicense Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const MAX_POINTS_ON_FIXED_WINDING = 12

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorRGBExponent32

type ColorRGBExponent32 struct {
	R        uint8
	G        uint8
	B        uint8
	Exponent int8
}

type MapDispInfo

type MapDispInfo struct {
	Face           face.Face
	EntityNum      int32
	Power          int32
	MinTess        int32
	SmoothingAngle float32

	StartPosition mgl32.Vec3
	AlphaValues   []float32
	MaxDispDist   float32
	DispDists     []float32
	VectorDisps   []mgl32.Vec3
	VectorOffsets []mgl32.Vec3
	Contents      int32
	BrushSideID   int32
	Flags         int32
	// contains filtered or unexported fields
}

type Side

type Side struct {
	PlaneNum              int32
	TexInfo               int32
	MapDisp               *MapDispInfo
	Winding               *Winding
	Original              *Side
	Contents              int32
	Surf                  int32
	Visible               int32
	Tested                int32
	Bevel                 int32
	Next                  *Side
	OrigIndex             int32
	Id                    int32
	SmoothingGroups       uint32
	AOverlayIds           []int32
	AWaterOverlayIds      []int32
	DynamicShadowsEnabled bool
}

type Winding

type Winding struct {
	Original  int32 // qboolean = int32
	NumPoints int32
	Points    []mgl32.Vec3
}

Jump to

Keyboard shortcuts

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