mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 12:29:18 +02:00
basic particle system implementation
This commit is contained in:
@@ -4553,9 +4553,12 @@ double TMoverParameters::TractionForce( double dt ) {
|
||||
EngineHeatingRPM )
|
||||
/ 60.0 );
|
||||
}
|
||||
// NOTE: fake dizel_fill calculation for the sake of smoke emitter which uses this parameter to determine smoke opacity
|
||||
dizel_fill = clamp( 0.2 + 0.35 * ( tmp - enrot ), 0.0, 1.0 );
|
||||
}
|
||||
else {
|
||||
tmp = 0.0;
|
||||
dizel_fill = 0.0;
|
||||
}
|
||||
|
||||
if( enrot != tmp ) {
|
||||
|
||||
Reference in New Issue
Block a user