mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 05:29:18 +02:00
3-axis rotation, and some corrections in editor mode
This commit is contained in:
@@ -659,8 +659,9 @@ TAnimModel::export_as_text_( std::ostream &Output ) const {
|
||||
Output
|
||||
<< location().x << ' '
|
||||
<< location().y << ' '
|
||||
<< location().z << ' '
|
||||
<< vAngle.y << ' ';
|
||||
<< location().z << ' ';
|
||||
Output
|
||||
<< "0 " ;
|
||||
// 3d shape
|
||||
auto modelfile { (
|
||||
pModel ?
|
||||
@@ -698,6 +699,11 @@ TAnimModel::export_as_text_( std::ostream &Output ) const {
|
||||
Output << "notransition" << ' ';
|
||||
}
|
||||
// footer
|
||||
Output << "angles "
|
||||
<< vAngle.x << ' '
|
||||
<< vAngle.y << ' '
|
||||
<< vAngle.z << ' ';
|
||||
// footer
|
||||
Output
|
||||
<< "endmodel"
|
||||
<< "\n";
|
||||
|
||||
Reference in New Issue
Block a user