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

reformat: functions can be made static

This commit is contained in:
jerrrrycho
2026-07-04 06:09:04 +02:00
parent 1d0d1c015b
commit aeb800283c
66 changed files with 199 additions and 184 deletions

View File

@@ -5,7 +5,7 @@ class headtrack
int joy_id = -1;
void find_joy();
float get_axis(const float *data, int count, int axis, float mul);
static float get_axis(const float *data, int count, int axis, float mul);
public:
headtrack();

View File

@@ -23,7 +23,7 @@ public:
private:
bool parse_translation(std::istream &stream);
std::string parse_c_literal(const std::string &str);
static std::string parse_c_literal(const std::string &str);
std::unordered_map<std::string, std::string> lang_mapping;
std::unordered_map<const void*, const void*> pointer_cache;