mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-18 08:56:10 -04:00
partial coordinates fix (slightly better results when changing cells, but still not completely correct)
This commit is contained in:
parent
bdd5e2f064
commit
1f077a5d5f
@ -37,7 +37,7 @@ namespace MWRender
|
||||
if (updateCamera)
|
||||
camera->setPosition (Ogre::Vector3 (
|
||||
mPlayer.ref.pos.pos[0],
|
||||
mPlayer.ref.pos.pos[2],
|
||||
-mPlayer.ref.pos.pos[2],
|
||||
mPlayer.ref.pos.pos[1]));
|
||||
|
||||
// TODO: Update sound listener
|
||||
@ -54,7 +54,6 @@ namespace MWRender
|
||||
// orientation. After the call, the new position is returned.
|
||||
void moveRel(float &relX, float &relY, float &relZ)
|
||||
{
|
||||
// TODO: Update mPlayer state
|
||||
using namespace Ogre;
|
||||
|
||||
// Move camera relative to its own direction
|
||||
|
Loading…
x
Reference in New Issue
Block a user