Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// PlaneNum is index of splitting place
PlaneNum int32 `json:"planeNum"`
// Children are indexes of children that resulted from the split. It can reference either other Nodes or Leafs
Children [2]int32 `json:"children"`
// Mins is bounding volume min
Mins [3]int16 `json:"mins"`
// Maxs is bounding volume maxs
Maxs [3]int16 `json:"maxs"`
// FirstFace is index into faces lump data
FirstFace uint16 `json:"firstFace"`
// NumFaces is number of faces in this node
NumFaces uint16 `json:"numFaces"`
// Area
Area int16 `json:"area"`
// Padding pads this structure to 4byte alignment (no other documented purpose)
Padding int16 `json:"padding"`
}
Node is a bsp node that has 2 children, because it was splittable along a plane. It represents a non-convex volume with child volumes
Click to show internal directories.
Click to hide internal directories.