mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 11:29:18 +02:00
reformat: functions can be made static
This commit is contained in:
@@ -123,9 +123,9 @@ class map_panel : public ui_panel
|
||||
float zoom = 1.0f / 1000.0f;
|
||||
enum { MODE_MANUAL = 0, MODE_CAMERA, MODE_VEHICLE } mode = MODE_MANUAL;
|
||||
|
||||
float get_vehicle_rotation();
|
||||
static float get_vehicle_rotation();
|
||||
void render_map_texture(glm::mat4 transform, glm::vec2 surface_size);
|
||||
void render_labels(glm::mat4 transform, ImVec2 origin, glm::vec2 surface_size);
|
||||
static void render_labels(glm::mat4 transform, ImVec2 origin, glm::vec2 surface_size);
|
||||
|
||||
bool init_done = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user