mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 13:59:19 +02:00
reformat: parameters can be made pointer to const
This commit is contained in:
@@ -1354,7 +1354,7 @@ void TMoverParameters::Derail(DerailReason const Reason)
|
||||
// *************************************************************************************************
|
||||
// Oblicza przemieszczenie taboru
|
||||
// *************************************************************************************************
|
||||
double TMoverParameters::ComputeMovement(const double dt, const double dt1, const TTrackShape &Shape, TTrackParam &Track, TTractionParam &ElectricTraction, TLocation const &NewLoc, TRotation const &NewRot)
|
||||
double TMoverParameters::ComputeMovement(const double dt, const double dt1, const TTrackShape &Shape, const TTrackParam &Track, const TTractionParam &ElectricTraction, TLocation const &NewLoc, TRotation const &NewRot)
|
||||
{
|
||||
constexpr double Vepsilon = 1e-5;
|
||||
constexpr double Aepsilon = 1e-3; // ASBSpeed=0.8;
|
||||
|
||||
Reference in New Issue
Block a user