OpenGL manual animation of character