mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-05 10:43:15 +00:00
Print cell reference rotation and destination rotation in esmtool (#8874)
This commit is contained in:
parent
4a062c09a4
commit
cd97bc66c3
1 changed files with 4 additions and 0 deletions
|
|
@ -251,6 +251,8 @@ namespace
|
|||
std::cout << " ID: " << ref.mRefID << '\n';
|
||||
std::cout << " Position: (" << ref.mPos.pos[0] << ", " << ref.mPos.pos[1] << ", " << ref.mPos.pos[2]
|
||||
<< ")\n";
|
||||
std::cout << " Rotation: (" << ref.mPos.rot[0] << ", " << ref.mPos.rot[1] << ", " << ref.mPos.rot[2]
|
||||
<< ")\n";
|
||||
if (ref.mScale != 1.f)
|
||||
std::cout << " Scale: " << ref.mScale << '\n';
|
||||
if (!ref.mOwner.empty())
|
||||
|
|
@ -277,6 +279,8 @@ namespace
|
|||
{
|
||||
std::cout << " Destination position: (" << ref.mDoorDest.pos[0] << ", " << ref.mDoorDest.pos[1]
|
||||
<< ", " << ref.mDoorDest.pos[2] << ")\n";
|
||||
std::cout << " Destination rotation: (" << ref.mDoorDest.rot[0] << ", " << ref.mDoorDest.rot[1]
|
||||
<< ", " << ref.mDoorDest.rot[2] << ")\n";
|
||||
if (!ref.mDestCell.empty())
|
||||
std::cout << " Destination cell: " << ref.mDestCell << '\n';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue