Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Insertable ¶
type SpatialHashmap ¶
type SpatialHashmap struct {
// contains filtered or unexported fields
}
Map for storing information about entities in 2d space
func New ¶
func New(cellSize float64) *SpatialHashmap
func (*SpatialHashmap) Insert ¶
func (m *SpatialHashmap) Insert(entity Insertable)
func (*SpatialHashmap) Remove ¶
func (m *SpatialHashmap) Remove(entity Insertable) interface{}
Click to show internal directories.
Click to hide internal directories.