core

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package core is the inside of a Space, shared by the packages of this module that work on one.

Index

Constants

This section is empty.

Variables

View Source
var Of func(space any) *Space

Of returns the inside of an *aabbworld.Space; package aabbworld sets it.

Functions

This section is empty.

Types

type Space

type Space struct {
	Index   *spatial.GridIndexManager
	Surface *iplane.Surface
}

Space is the surface boxes move on and the index kept over them.

func (*Space) Follow

func (s *Space) Follow(id uid.UID64, box *plane.AABB) bool

Follow queues the index to take box as where id is now; false once it has left by an open edge.

Jump to

Keyboard shortcuts

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