compensated for different coordinate systems

actorid
Marc Zinnschlag 11 years ago
parent 1e57d55717
commit 41fd94b160

@ -10,7 +10,7 @@ CSVRender::Navigation1st::Navigation1st() : mCamera (0) {}
bool CSVRender::Navigation1st::activate (Ogre::Camera *camera)
{
mCamera = camera;
mCamera->setFixedYawAxis (true);
mCamera->setFixedYawAxis (true, Ogre::Vector3::UNIT_Z);
Ogre::Radian pitch = mCamera->getOrientation().getPitch();

@ -49,6 +49,7 @@ namespace CSVRender
mCamera->lookAt(0,0,0);
mCamera->setNearClipDistance(0.1);
mCamera->setFarClipDistance(30000);
mCamera->roll (Ogre::Degree (90));
QTimer *timer = new QTimer (this);

Loading…
Cancel
Save