void drawRobot(GLfloat theta, GLfloat phi, GLfloat
psi)
{
glRotatef(theta, 0.0, 1.0, 0.0);
drawBase();
glTranslatef(0.0, h1, 0.0);
glRotatef(phi, 0.0, 0.0, 1.0);
drawLowerArm();
glTranslatef(0.0, h2, 0.0);
glRotatef(psi, 0.0, 0.0, 1.0);
drawUpperArm();
}