Skip to content

Commit 76eff59

Browse files
committed
Merge branch 'esmtoolrotation' into 'master'
Improve esmtool destination position/rotation formatting See merge request OpenMW/openmw!5075
2 parents a207b45 + 24821b8 commit 76eff59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/esmtool/record.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ namespace
176176
{
177177
for (const ESM::Transport::Dest& dest : transport)
178178
{
179-
std::cout << std::format(" Destination Position: ({:12.3f},{:12.3f},{:12.3f})\n", dest.mPos.pos[0],
179+
std::cout << std::format(" Destination Position: ({:12.3f}, {:12.3f}, {:12.3f})\n", dest.mPos.pos[0],
180180
dest.mPos.pos[1], dest.mPos.pos[2]);
181-
std::cout << std::format(" Destination Rotation: ({:9.6f},{:9.6f},{:9.6f})\n",
181+
std::cout << std::format(" Destination Rotation: ({:12.3f}, {:12.3f}, {:12.3f})\n",
182182
osg::RadiansToDegrees(dest.mPos.rot[0]), osg::RadiansToDegrees(dest.mPos.rot[1]),
183183
osg::RadiansToDegrees(dest.mPos.rot[2]));
184184
if (!dest.mCellName.empty())

0 commit comments

Comments
 (0)