/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #include class TTrack; // where the buffer stops at the ends of the tracks stand (physics/bufferstop.h, path_table::InitBufferStops()) namespace bufferstops { // the end of the track: 0 its point 1, 1 its point 2 glm::dvec3 end_point(TTrack const &Track, int End); // the direction out of the track at the end, level glm::dvec3 outward(TTrack const &Track, int End); // the face of a stop standing the setback [m] before the end glm::dvec3 face(TTrack const &Track, int End, double Setback); } // namespace bufferstops