From: Mike C. Fletcher <mcfletch@vr...> - 2014-02-19 17:30:25
I've just checked in a change that allows for passing in output arrays
for each wrapper that uses setOutput(), upshot is that most functions
that return arrays can now pass in an array object to be filled (as you
would do in C), allowing you to explicitly specify what object should be
used for the output. There is a minor cost to that change (a length
check and an "X in (a,b)" check, but it should allow for easier
translations between C and Python opengl code.
That change will require re-compiling OpenGL_accelerate for bzr head
(and will necessitate a new OpenGL_accelerate release for beta 2).
Mike C. Fletcher
Designer, VR Plumber, Coder