Documentation ¶
Index ¶
Constants ¶
View Source
const ( FRAMERATE = 61 NUMWORKERS = 4 // TODO MIDNIGHT = 0.0 ONETHIRTY = math.Pi * 0.25 THREEO = math.Pi * 0.5 FOURTHIRTY = math.Pi * 0.75 SIXO = math.Pi * 1.0 SEVENTHIRTY = math.Pi * 1.25 NINEO = math.Pi * 1.5 TENTHIRTY = math.Pi * 1.75 TWOPI = math.Pi * 2.0 MICRO = 1e-6 SHEARFACTOR = 1.00 WINDOWWIDTH int32 = 1280 WINDOWHEIGHT int32 = 960 VELOCITY = 0.5 ROTVEL = 0.075 WALLHEIGHT = 5.0 FLOORHEIGHT = -5.0 CEILHEIGHT = 6.5 )
View Source
const (
End = iota
)
Variables ¶
View Source
var RANDOMSAMPLE = make([]byte, 4096)
Functions ¶
Types ¶
type Game ¶
func NewGameFromFilename ¶
type Point ¶
type Point struct {
X, Y float64
}
func LLBoundary ¶
func LRBoundary ¶
func ULBoundary ¶
func URBoundary ¶
Click to show internal directories.
Click to hide internal directories.