//Ogre::Camera::rotate(Ogre::Quaternion const&) void camera_rotate_q(CameraHandle handle, const coiQuaternion* q) { Ogre::Camera* camera = static_cast<Ogre::Camera*>(handle); const Ogre::Quaternion quat(q->w, q->x, q->y, q->z); camera->rotate(quat); }
//Ogre::Camera::rotate(Ogre::Vector3 const&, Ogre::Radian const&) void camera_rotate(CameraHandle handle, const coiVector3* axis, coiReal angle) { Ogre::Camera* camera = static_cast<Ogre::Camera*>(handle); const Ogre::Vector3 v(axis->x, axis->y, axis->z); Ogre::Radian r(angle); camera->rotate(v, r); }