Original Post
I am implementing a basic 3D engine using opengl.
Originally I used the plain old glTranslate/glRotate commands to move objects and the camera around - but gimbal lock caught me out, so now I''m trying to use all my own matrix transformations to manipulate the position of the camera and objects and then only giving the draw commands to GL -is this stupid or the right way to go about things. Would it be easier to do polygon sorting with my own matrix calculations or should I leave it up to GL?