3d game in OpenGL