Didn't quite manage an inch (Centimeter-ing forward with OpenGL-ctypes)

Gave my hands a break, then did a bit of work on the image-handling code for OpenGL-ctypes. Mostly just translating the array-setup functions (SetupPixelRead, SetupRawPixelRead) into Python code, then deciding instead to re-implement them, as they aren't really clear wrt what they're trying to do. Hopefully breaking it down into 4 or 5 functions, each using lookup tables rather than big case statements, will make it easier to follow and maintain.

Anyway, it's late, and I have more CGI coding to do tomorrow. Suppose I should toddle off to bed pretty soon.


Comments are closed.


Pingbacks are closed.