mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 06:57:29 +01:00
pch migration to modules [wip]
This commit is contained in:
20
utilities/headtrack.cppm
Normal file
20
utilities/headtrack.cppm
Normal file
@@ -0,0 +1,20 @@
|
||||
module;
|
||||
|
||||
export module eu07.utilities.headtrack;
|
||||
|
||||
export {
|
||||
|
||||
class headtrack
|
||||
{
|
||||
int joy_id = -1;
|
||||
|
||||
void find_joy();
|
||||
float get_axis(const float *data, int count, int axis, float mul);
|
||||
|
||||
public:
|
||||
headtrack();
|
||||
|
||||
void update();
|
||||
};
|
||||
|
||||
} // export
|
||||
Reference in New Issue
Block a user