step += 5;
float ra = (float)
CC_DEGREES_TO_RADIANS(step);
float i = sinf(ra) *
pNode->getCamera()->getZEye();
float j = cosf(ra) *
pNode->getCamera()->getZEye();
pNode->getCamera()->setEyeXYZ(i, 0, j);
cocos2dx--- Node 绕Y轴旋转,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/bison/p/3765701.html