mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 21:00:03 +01:00
Merge remote-tracking branch 'origin/feat/track-uneven' into feat/renderers-cleanup
This commit is contained in:
@@ -386,6 +386,11 @@ bool TTrackFollower::Move(double fDistance, bool bPrimary)
|
||||
}
|
||||
};
|
||||
|
||||
double TTrackFollower::RailPhase( double const Offset ) const {
|
||||
|
||||
return pCurrentTrack != nullptr ? pCurrentTrack->rail_phase( fCurrentDistance + fDirection * Offset ) : -1.0;
|
||||
}
|
||||
|
||||
bool TTrackFollower::ComputatePosition()
|
||||
{ // ustalenie współrzędnych XYZ
|
||||
if (pCurrentSegment) // o ile jest tor
|
||||
|
||||
Reference in New Issue
Block a user