16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 21:49:19 +02:00

dynamically assigned render lights

This commit is contained in:
tmj-fstate
2017-02-27 02:58:38 +01:00
parent 0752024d47
commit 80b8da6749
16 changed files with 344 additions and 158 deletions

View File

@@ -420,7 +420,7 @@ public: // modele składowe pojazdu
void Render();
void RenderAlpha();
void RenderSounds();
inline vector3 GetPosition()
inline vector3 GetPosition() const
{
return vPosition;
};
@@ -436,7 +436,7 @@ public: // modele składowe pojazdu
{
return iAxleFirst ? Axle1.pPosition : Axle0.pPosition;
};
inline vector3 VectorFront()
inline vector3 VectorFront() const
{
return vFront;
};
@@ -456,7 +456,7 @@ public: // modele składowe pojazdu
{
return MoverParameters->Vel;
};
inline double GetLength()
inline double GetLength() const
{
return MoverParameters->Dim.L;
};