You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic merge of T1.5.1-770-g1f196a324 and 16 pull requests
- Pull request #570 at 3539862: Experimental glTF 2.0 support with PBR lighting
- Pull request #839 at d00beb9: First phase of https://blueprints.launchpad.net/or/+spec/additional-cruise-control-parameters
- Pull request #875 at 43bf33e: Bug fix for https://bugs.launchpad.net/or/+bug/2036346 Player train switching doesn't work with 3D cabs
- Pull request #876 at f92de76: docs: add source for documents previously on website to source Documentation folder
- Pull request #882 at a055bca: Blueprint/train car operations UI window
- Pull request #885 at d9ce84b: feat: Add notifications to Menu
- Pull request #886 at 6c0785b: Scene viewer extension to TrackViewer
- Pull request #892 at 1f5ba4c: Signal Function OPP_SIG_ID_TRAINPATH
- Pull request #893 at bf8876b: Signal errors
- Pull request #894 at 5ff1e73: Correct Decrease Colour
- Pull request #896 at 5866028: First implementation of https://blueprints.launchpad.net/or/+spec/specific-sounds-for-ai-trains
- Pull request #897 at 0a9d939: feat: Improved system information collection
- Pull request #898 at 2d1b44a: Extra line with all the arguments for debugging purposes in logfile
- Pull request #899 at c17fdb3: Duplex steam engines - Booster Engine addition
- Pull request #903 at a0d2991: first phase downloading from Github
- Pull request #904 at 8dc3628: fix: adds downgrade to low precision
/// - computes axle dynamic model according to its driveType
1018
1020
/// - computes wheelslip indicators
1019
1021
/// </summary>
1020
-
/// <param name="timeSpan"></param>
1021
-
publicvirtualvoidUpdate(floattimeSpan)
1022
+
/// <param name="elapsedSeconds"></param>
1023
+
publicvirtualvoidUpdate(floatelapsedSeconds)
1022
1024
{
1023
-
// Test to determine whether to use Polach or Pacha adhesion
1024
-
1025
-
// Switches between Polach (high performance) adhesion model and Pacha (low performance) adhesion model depending upon the PC performance
1026
-
if(timeSpan<0.025)// timespan 0.025 = 40 fps screen rate, low timeSpan and high FPS
1027
-
{
1028
-
UsePolachAdhesion=true;
1029
-
}
1030
-
elseif(timeSpan>0.033)// timespan 0.033 = 30 fps screen rate, high timeSpan and low FPS
1031
-
{
1032
-
UsePolachAdhesion=false;
1033
-
if(TrainSpeedMpS>0)
1034
-
{
1035
-
varScreenFrameRate=1/timeSpan;
1036
-
Trace.TraceInformation("Advanced adhesion model switched to low performance option due to low frame rate {0} at ElapsedClockSeconds of {1}",ScreenFrameRate,timeSpan);
0 commit comments