16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00

Fix model rotation by changing glm::dmat4 BasisChange definition

This commit is contained in:
docentYT
2026-04-27 21:28:06 +02:00
parent fae68642bc
commit ef852b4307
2 changed files with 2 additions and 9 deletions

View File

@@ -9525,7 +9525,7 @@ glm::dvec3 TTrain::MirrorPosition(bool lewe)
glm::dvec4(
mvOccupied->Dim.W * ( 0.5 * shiftdirection ) + ( 0.2 * shiftdirection ),
1.5 + Cabine[iCabn].CabPos1.y,
interpolate( Cabine[ iCabn ].CabPos1.z , Cabine[ iCabn ].CabPos2.z, 0.5 ), 0.0 );
interpolate( Cabine[ iCabn ].CabPos1.z , Cabine[ iCabn ].CabPos2.z, 0.5 ), 1.0);
};
void TTrain::DynamicSet(TDynamicObject *d)