17 lines
310 B
C
17 lines
310 B
C
|
#pragma once
|
||
|
|
||
|
#include <glm/glm.hpp>
|
||
|
|
||
|
#include "KeyCodes.h"
|
||
|
#include "MouseCodes.h"
|
||
|
|
||
|
class Input
|
||
|
{
|
||
|
public:
|
||
|
static bool IsKeyPressed(KeyCode key);
|
||
|
|
||
|
static bool IsMouseButtonPressed(MouseCode button);
|
||
|
static glm::vec2 GetMousePosition();
|
||
|
static float GetMouseX();
|
||
|
static float GetMouseY();
|
||
|
};
|