mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 11:18:22 -05:00
Fixing CREDITS file
Removing many of clang warnings
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
Controller() :
|
||||
_handler(nullptr)
|
||||
{}
|
||||
|
||||
|
||||
void setHandler(InteractionHandler* handler);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace interaction {
|
||||
|
||||
class KeyboardController : public Controller {
|
||||
public:
|
||||
virtual ~KeyboardController() {};
|
||||
virtual void keyPressed(KeyAction action, Key key, KeyModifier modifier) = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace interaction {
|
||||
class MouseController : public Controller {
|
||||
public:
|
||||
MouseController();
|
||||
virtual ~MouseController() {}
|
||||
|
||||
virtual void button(MouseAction action, MouseButton button) = 0;
|
||||
virtual void move(float x, float y) = 0;
|
||||
|
||||
Reference in New Issue
Block a user