mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
removed dependencies on the old parser. The code can now be compiled outside of Borland C++
This commit is contained in:
19
Segment.cpp
19
Segment.cpp
@@ -7,28 +7,23 @@ obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "system.hpp"
|
||||
#pragma hdrstop
|
||||
#include "opengl/glew.h"
|
||||
//#include "opengl/glut.h"
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "Segment.h"
|
||||
#include "Usefull.h"
|
||||
#include "opengl/glew.h"
|
||||
|
||||
#include "Globals.h"
|
||||
#include "Logs.h"
|
||||
#include "Usefull.h"
|
||||
#include "Track.h"
|
||||
#include <mctools.h>
|
||||
|
||||
//#define Precision 10000
|
||||
|
||||
#pragma package(smart_init)
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
// 101206 Ra: trapezoidalne drogi
|
||||
// 110806 Ra: odwrócone mapowanie wzdłuż - Point1 == 1.0
|
||||
|
||||
string Where(vector3 p)
|
||||
std::string Where(vector3 p)
|
||||
{ // zamiana współrzędnych na tekst, używana w błędach
|
||||
return to_string(p.x) + " " + to_string(p.y) + " " + to_string(p.z);
|
||||
return std::to_string(p.x) + " " + std::to_string(p.y) + " " + std::to_string(p.z);
|
||||
};
|
||||
|
||||
TSegment::TSegment(TTrack *owner)
|
||||
|
||||
Reference in New Issue
Block a user