2013-12-10 71 views

回答

0

解決它自己:

glRotatef(atan2(z,x) * 180/M_PI,0,1,0); 
glRotatef(asin(y) * 180/M_PI,0,0,1);