- CCCamera *camera = this->getCamera();
- float eyeZ = CCCamera::getZEye();
- camera->setEyeXYZ(0,eyeZ + i); //当i增大时,整个场景由大到小收缩。
- CCCamera *camera = this->getCamera();
- float eyeZ = CCCamera::getZEye();
- camera->setEyeXYZ(0,eyeZ + i); //当i增大时,整个场景由大到小收缩。