package
0.0.0-20190915210024-47917a8669ba
Repository: https://github.com/moethu/engine.git
Documentation: pkg.go.dev
# Functions
NewDispatcher creates and returns a new event dispatcher.
NewNode returns a pointer to a new Node.
NewRaycaster creates and returns a pointer to a new raycaster object with the specified origin and direction.
NewTimerManager creates and returns a new timer manager.
# Constants
Dispatched when a descendent is added or removed.
# Structs
Dispatcher implements an event dispatcher.
Intersect describes the intersection between a ray and an object.
Node represents an object in 3D space existing within a hierarchy.
Raycaster represents an empty object that can cast rays and check for ray intersections.
RenderInfo is passed into Render/RenderSetup calls.
TimerManager manages multiple timers.
# Interfaces
IDispatcher is the interface for event dispatchers.
INode is the interface for all node types.
# Type aliases
Callback is the type for Dispatcher callback functions.
TimerCallback is the type for timer callback functions.