Floating point export fix for models

This commit is contained in:
2025-01-28 00:43:57 +01:00
parent 6a16ccf335
commit 63c8a79023
2 changed files with 5 additions and 6 deletions

View File

@@ -656,9 +656,9 @@ TAnimModel::export_as_text_( std::ostream &Output ) const {
// header
Output << "model ";
// location and rotation
Output
<< location().x << ' '
<< location().y << ' '
Output << std::fixed << std::setprecision(3) // ustawienie dokładnie 3 cyfr po przecinku
<< location().x << ' '
<< location().y << ' '
<< location().z << ' ';
Output
<< "0 " ;