mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
build 170911. right mouse view panning during mouse picking in external view, signal distance calculation fix, AI car braking improvements, cab camera position retains position between view swaps, physics calculations mode switch, consist brake status report in whois event
This commit is contained in:
9
Camera.h
9
Camera.h
@@ -46,13 +46,10 @@ class TCamera
|
||||
vector3 LookAt; // współrzędne punktu, na który ma patrzeć
|
||||
vector3 vUp;
|
||||
vector3 Velocity;
|
||||
vector3 CrossPos;
|
||||
double CrossDist;
|
||||
void Init(vector3 NPos, vector3 NAngle);
|
||||
void Reset()
|
||||
{
|
||||
Pitch = Yaw = Roll = 0;
|
||||
};
|
||||
inline
|
||||
void Reset() {
|
||||
Pitch = Yaw = Roll = 0; };
|
||||
void OnCursorMove(double const x, double const y);
|
||||
void OnCommand( command_data const &Command );
|
||||
void Update();
|
||||
|
||||
Reference in New Issue
Block a user