Rendering 3 axis with opengl