OpenGLContext.shadow.volume

Shadow-volume implementation
A volume is cast by a light from an edgeset, it's basically the volume of space which is shadowed by the given edgeset/object.

Classes

class Volume( object ):
A shadow-volume object
This object represents the shadow cast by a single light and a single occluder of that light. It is rendered (along with all other volumes for a given light) into the stencil buffer to determine what parts of the scene are lit by the light.
XXX doesn't yet handle single-edges for faces or (more cricitally) clock-wise windings