As said in the other thread: You can't do that. If you want to battle with the matrices directly, why are you using a 3D engine in the first place? Maybe we should go one step back and ask: What are you actually trying to achieve with all this? Maybe there's a better way than trying to stick some code based on OpenGL directly into a 3D engine.