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

add hack for proper submodel offset calculation after t3d init, fixes cabin sound positioning

This commit is contained in:
milek7
2018-12-09 23:12:18 +01:00
committed by tmj-fstate
parent 57327f9653
commit f56a2b67be
2 changed files with 11 additions and 10 deletions

View File

@@ -119,6 +119,8 @@ private:
float fCosHotspotAngle { 0.3f }; // cosinus kąta stożka pod którym widać aureolę i zwiększone natężenie światła
float fCosViewAngle { 0.0f }; // cos kata pod jakim sie teraz patrzy
bool m_rotation_init_done = false;
TSubModel *Next { nullptr };
TSubModel *Child { nullptr };
public: // temporary access, clean this up during refactoring