Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinPartitionWidth float64 = 3.0 MinPartitionHeight float64 = 3.0 )
Could go elsewhere...
View Source
const ( Closed uint = iota SemiOpen Open )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSPNode ¶
type BSPNode struct {
// contains filtered or unexported fields
}
func (BSPNode) Traversability ¶
type BSPTree ¶
type BSPTree struct {
// contains filtered or unexported fields
}
func (BSPTree) RandomizeTraversability ¶
Randomizes the traversability of nodes in a BSPTree.
type PriorityQueue ¶
type PriorityQueue struct {
// contains filtered or unexported fields
}
func (*PriorityQueue) Clear ¶
func (pq *PriorityQueue) Clear()
func (*PriorityQueue) Extract ¶
func (pq *PriorityQueue) Extract() (interface{}, float64)
func (*PriorityQueue) Insert ¶
func (pq *PriorityQueue) Insert(newItem interface{}, newPriority float64)
func (PriorityQueue) IsEmpty ¶
func (pq PriorityQueue) IsEmpty() bool
func (PriorityQueue) Peek ¶
func (pq PriorityQueue) Peek() (interface{}, float64)
func (PriorityQueue) Size ¶
func (pq PriorityQueue) Size() int
Click to show internal directories.
Click to hide internal directories.