but what I was really meaning was some real snippets: complete functions
While it was in no way complete code, I remember seeing a full function to do with the OpenGL implementation in BMax. Was quite a long time ago and I'm not sure what the thread was actually about. But it's around somewhere here =]