stage

package
v0.0.0-...-4db4b9c Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node interface {
	Bounds() shape.AABox
	Child(NodeLocation) (Node, bool)
}

func NewNode

func NewNode(size float32, depth int) Node

type NodeLocation

type NodeLocation int
const (
	TopLeftFront NodeLocation = iota
	TopRightFront
	BottomLeftFront
	BottomRightFront
	TopLeftBack
	TopRightBack
	BottomLeftBack
	BottomRightBack
)

type Octree

type Octree interface {
	Root() Node
}

func NewOctree

func NewOctree(size float32, depth int) Octree

Jump to

Keyboard shortcuts

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