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

improved consistency of simulation updates, reduction of random factor in acceleration calculations

This commit is contained in:
tmj-fstate
2017-09-05 22:19:46 +02:00
parent 2446468038
commit 2324ae5eda
9 changed files with 115 additions and 34 deletions

View File

@@ -350,7 +350,7 @@ Math3D::vector3 TSegment::FastGetPoint(double const t) const
{
// return (bCurve?Interpolate(t,Point1,CPointOut,CPointIn,Point2):((1.0-t)*Point1+(t)*Point2));
return (
( ( true == bCurve ) || ( iSegCount == 1 ) ) ?
( ( true == bCurve ) || ( iSegCount != 1 ) ) ?
RaInterpolate( t ) :
interpolate( Point1, Point2, t ) );
}