Class: simplespace
a simple sphere collisionspace
Hierarchy
o-+ simplecollision
o-+ simplespace
Methods:
Method overview:
- new ()
- returns: (SimpleSpace space)
constructs an empty simplespace
- add (simplespace self,shape shape)
- returns: ()
adds a shape to the space
- hitlist (simplespace self)
- returns: ([sphere shape]/[aabox shape])
returns first element of hitlists
- list (simplespace self)
- returns: ([sphere shape]/[aabox shape])
returns first element of list
- test (simplespace self, float x,y,z,[r=0])
- returns: (int hitcount)
tests for collision with
sphere
Inherited Methods: