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);
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3