Documentation ¶
Index ¶
Constants ¶
View Source
const ( MAXFACES = 6 ENTMAXVAL = 8 MAXTEXDUP = 10000 CMAPDIR = "maps/" CMAPEXT = ".cmap" )
Variables ¶
This section is empty.
Functions ¶
func GetIntersection ¶
func GetIntersection(planes [9 * MAXFACES]float64, i uint8, j uint8, k uint8, intersection [3]float64)
get intersection
Types ¶
type CBRUSH ¶
type CBRUSH struct { ID uint32 FaceCount uint8 PlaneCount uint8 Faces [MAXFACES]int Vertices [12 * MAXFACES]float64 Planes [9 * MAXFACES]int32 Texel [MAXFACES]string ShiftX [MAXFACES]int32 ShiftY [MAXFACES]int32 ScaleX [MAXFACES]float32 ScaleY [MAXFACES]float32 Width [MAXFACES]uint32 Height [MAXFACES]uint32 StartX [MAXFACES]float64 StartY [MAXFACES]float64 StartZ [MAXFACES]float64 EndX [MAXFACES]float64 EndY [MAXFACES]float64 EndZ [MAXFACES]float64 DirectionCode [MAXFACES]uint8 }
Click to show internal directories.
Click to hide internal directories.