OpenGLContext.doinchildmatrix
index
p:\openglcontext\doinchildmatrix.py

Perform python function within MODELVIEW child matrix
 
XXX Should add versions for perspective and/or texture
        matrices (use a parameterized base function and
        provide top-level convenience functions to call it).

 
Modules
            
Numeric
 
Functions
            
doInChildMatrix(function, *args, **named)
Do the function in a "child" matrix
 
This method allows you to perform the given function
within a dependent model-view matrix, with stack-
overflow protected restoration of the model-view matrix
after completion (regardless of whether an error
occurs).