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

Move train physics to thread poools

This commit is contained in:
2025-09-17 00:56:59 +02:00
parent edaa452a8b
commit 57d4087ef5
4 changed files with 34 additions and 26 deletions

View File

@@ -52,7 +52,7 @@ struct global_settings {
int iSlowMotion{ 0 }; // info o malym FPS: 0-OK, 1-wyłączyć multisampling, 3-promień 1.5km, 7-1km
basic_light DayLight;
float SunAngle{ 0.f }; // angle of the sun relative to horizon
bool trainAsyncProcessing{false};
int trainThreads{1};
double fLuminance{ 1.0 }; // jasność światła do automatycznego zapalania
double fTimeAngleDeg{ 0.0 }; // godzina w postaci kąta
float fClockAngleDeg[ 6 ]; // kąty obrotu cylindrów dla zegara cyfrowego