Documentation ¶
Index ¶
- type ClippingShape
- type Locatable
- type Physical
- type Positionable
- type QuadKey
- type QuadNode
- func (root *QuadNode) ClippingCandidates(k *QuadKey) <-chan *QuadKey
- func (root *QuadNode) ClippingCandidatesAt(bounds algebra.Rectangle) <-chan *QuadKey
- func (root *QuadNode) Draw(win *pixelgl.Window)
- func (root *QuadNode) InsertAt(pnt interface{}, bounds algebra.Rectangle) (k *QuadKey)
- func (root *QuadNode) Remove(k *QuadKey) error
- type QuadTree
- type SolidBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClippingShape ¶
type Positionable ¶
type QuadNode ¶
type QuadNode struct { Children []*QuadNode // contains filtered or unexported fields }
func (*QuadNode) ClippingCandidates ¶
func (*QuadNode) ClippingCandidatesAt ¶
type QuadTree ¶
type QuadTree interface { InsertAt(pnt interface{}, bounds algebra.Rectangle) *QuadKey Remove(k *QuadKey) error ClippingCandidates(k *QuadKey) <-chan *QuadKey ClippingCandidatesAt(bounds algebra.Rectangle) <-chan *QuadKey gfx.Drawable // contains filtered or unexported methods }
func NewQuadTree ¶
Click to show internal directories.
Click to hide internal directories.