aboutsummaryrefslogtreecommitdiff
path: root/src/Support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Support.cpp')
-rw-r--r--src/Support.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Support.cpp b/src/Support.cpp
index fc2b0ac..f7e726a 100644
--- a/src/Support.cpp
+++ b/src/Support.cpp
@@ -21,20 +21,6 @@ int Random()
#endif
}
-void GetMouse(Point *p)
-{
- double xpos, ypos;
- glfwGetCursorPos(glfwGetCurrentContext(), &xpos, &ypos);
- p->h = floor(xpos);
- p->v = floor(ypos);
-}
-
-int Button(void)
-{
- const auto window = glfwGetCurrentContext();
- return glfwGetMouseButton(window, GLFW_MOUSE_BUTTON_LEFT) == GLFW_PRESS;
-}
-
bool IsKeyDown(int key)
{
const auto window = glfwGetCurrentContext();