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:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user