mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-03 04:14:00 +00:00
Merge branch 'esmtoolrotation' into 'master'
Improve esmtool destination position/rotation formatting See merge request OpenMW/openmw!5075
This commit is contained in:
commit
76eff59c2c
1 changed files with 2 additions and 2 deletions
|
|
@ -176,9 +176,9 @@ namespace
|
|||
{
|
||||
for (const ESM::Transport::Dest& dest : transport)
|
||||
{
|
||||
std::cout << std::format(" Destination Position: ({:12.3f},{:12.3f},{:12.3f})\n", dest.mPos.pos[0],
|
||||
std::cout << std::format(" Destination Position: ({:12.3f}, {:12.3f}, {:12.3f})\n", dest.mPos.pos[0],
|
||||
dest.mPos.pos[1], dest.mPos.pos[2]);
|
||||
std::cout << std::format(" Destination Rotation: ({:9.6f},{:9.6f},{:9.6f})\n",
|
||||
std::cout << std::format(" Destination Rotation: ({:12.3f}, {:12.3f}, {:12.3f})\n",
|
||||
osg::RadiansToDegrees(dest.mPos.rot[0]), osg::RadiansToDegrees(dest.mPos.rot[1]),
|
||||
osg::RadiansToDegrees(dest.mPos.rot[2]));
|
||||
if (!dest.mCellName.empty())
|
||||
|
|
|
|||
Loading…
Reference in a new issue