Global variables.
Convert (module, angle) to carteian coords (x,y)
Convert (module, angle) to carteian coords (x,y)
Convert (x,y) to (module, angle)
Convert (x,y) to (module, angle)
Debug function. Prints a 4x4 matrix.
Returns a GLFloat vector.
Provides the Layer class.
Drawing classes.
Bases: nabla.gl.geo.group.Draw
A pyglet.group that draws a coordinate axis.
Bases: pyglet.graphics.OrderedGroup
Extended pyglet.group base class.
Provides the Layer class.
Bases: pyglet.event.EventDispatcher
A Layer in Space. The layer creates a geo.Plane if assigned to a geo.Space.
Force immediate removal of the sprite from video memory.
This is often necessary when using batches, as the Python garbage collector will not necessarily call the finalizer as soon as the sprite is garbage.
Bases: object
TDOD: A Audio layer that does nor show texture
Provides the Plane class.
Bases: pyglet.event.EventDispatcher
A void layer to define children layers origin. Draws an Axis.
Bases: pyglet.event.EventDispatcher
A hierarchy of planes in space.
space = Space object. parent = Plane object or None layer = Layer object origin = bool: the layer is a new Origin object
Never use this. Draws the group at its current position.
Geometry management package. Provides geo.Space class, a geo.Plane and geo.Tree manager.
Bases: object
Bases: pyglet.graphics.Batch
A container for plane trees, extends pyglet.batch.
A viewport can send the mouse events to a Space object, so the Space calculates the coordinates and passes the events to the plane.
Properties
layer = list of all layers in this space. group = root pyglet.group, every layer must add its group. plane = Plane, here .plane is a list of top planes, tree structure.
_selected= last selected layer selection= all selected layers focus = selected plane
Geometry management package. Provides geo.Space class, a geo.Plane manager
Bases: object
Base class for objects that need a tree.
Bases: nabla.gl.geo.tree._Tree, pyglet.event.EventDispatcher
A structure of planes. A plane can contain a layer and other planes.
Create this structure in space.
Create this structure in a Space.
Remove this structure from a Space.
The structure type: BACKGROUND