forked from teamnwah/openmw-tes3coop
compensated for different coordinate systems
This commit is contained in:
parent
1e57d55717
commit
41fd94b160
2 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue