diff options
author | Justin Clark-Casey (justincc) | 2011-10-20 19:44:59 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-20 19:44:59 +0100 |
commit | 6837e44d0707e501795df2d690c6005f5ba1d591 (patch) | |
tree | cc1dff4dec765209d7e349c3f785f70cb7c454c0 /OpenSim/Region/Physics | |
parent | For now, stop passing timeStep into methods where it's not actually used. (diff) | |
download | opensim-SC_OLD-6837e44d0707e501795df2d690c6005f5ba1d591.zip opensim-SC_OLD-6837e44d0707e501795df2d690c6005f5ba1d591.tar.gz opensim-SC_OLD-6837e44d0707e501795df2d690c6005f5ba1d591.tar.bz2 opensim-SC_OLD-6837e44d0707e501795df2d690c6005f5ba1d591.tar.xz |
Pass PhysicsScene.Simulate() only the MinFrameTime rather than the useless Math.Max(SinceLastFrame.TotalSeconds, MinFrameTime)
SinceLastFrame was calculating the interval between any sleep that had occurred to pad out the frame time and the start of the next frame.
This would usually be below MinFrameTime but occasionally if the sleep was long it would be above, often due to the time required to update the watchdog.
This doesn't appear to play much practical role right now.
ODE was actually ignoring it entirely. Bullet might be helped slightly by receiving a non-varying value.
Diffstat (limited to 'OpenSim/Region/Physics')
0 files changed, 0 insertions, 0 deletions