mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-02 07:21:07 +00:00
I think this was committed by accident
This commit is contained in:
parent
de23ad5c8d
commit
08d8dd287c
@ -200,7 +200,7 @@ void LocalMap::requestMap(MWWorld::CellStore* cell,
|
|||||||
|
|
||||||
// Get the cell's NorthMarker rotation. This is used to rotate the entire map.
|
// Get the cell's NorthMarker rotation. This is used to rotate the entire map.
|
||||||
const Vector2& north = MWBase::Environment::get().getWorld()->getNorthVector(cell);
|
const Vector2& north = MWBase::Environment::get().getWorld()->getNorthVector(cell);
|
||||||
Radian angle = Ogre::Math::ATan2 (north.x, north.y) + Ogre::Degree(2);
|
Radian angle = Ogre::Math::ATan2 (north.x, north.y);
|
||||||
mAngle = angle.valueRadians();
|
mAngle = angle.valueRadians();
|
||||||
|
|
||||||
// Rotate the cell and merge the rotated corners to the bounding box
|
// Rotate the cell and merge the rotated corners to the bounding box
|
||||||
|
Loading…
x
Reference in New Issue
Block a user