- Rename states -> regions - Threads unregistering from Logger - Remove unnecessary references for primitive arguments in functions - Marking classes as final for optimization - Remove typo in Materials implementation file name - Move some modules to partitions
21 lines
393 B
C++
21 lines
393 B
C++
module;
|
|
|
|
#include <GLFW/glfw3.h>
|
|
|
|
export module GLFWInput;
|
|
import Input;
|
|
|
|
export {
|
|
class GLFWInput final : public ee_engine::IInput
|
|
{
|
|
public:
|
|
GLFWInput(ee_engine::InputHandlers handlers);
|
|
|
|
void Poll() override;
|
|
|
|
private:
|
|
void OnLeftMouseButton(int state);
|
|
void OnRightMouseButton(int state);
|
|
void OnMiddleMouseButton(int state);
|
|
};
|
|
} |