summaryrefslogtreecommitdiffstats
path: root/game/client/io/glfw.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 15:48:53 +0500
committeruntodesu <kirill@untode.su>2025-09-11 15:48:53 +0500
commitd0fbd68055e3f4a796330cc8acc6c0954b5327ff (patch)
treee581014ea02711efa5e71f00f9862e5bca58f2ed /game/client/io/glfw.hh
parentcbd823aa2154a956e7da4319eecbf7afc10441ae (diff)
downloadvoxelius-d0fbd68055e3f4a796330cc8acc6c0954b5327ff.tar.bz2
voxelius-d0fbd68055e3f4a796330cc8acc6c0954b5327ff.zip
Run clang-format across the project
Diffstat (limited to 'game/client/io/glfw.hh')
-rw-r--r--game/client/io/glfw.hh80
1 files changed, 40 insertions, 40 deletions
diff --git a/game/client/io/glfw.hh b/game/client/io/glfw.hh
index ea3f4a7..bbd767a 100644
--- a/game/client/io/glfw.hh
+++ b/game/client/io/glfw.hh
@@ -1,40 +1,40 @@
-#ifndef CLIENTFW
-#define CLIENTFW 1
-#pragma once
-
-namespace io
-{
-struct GlfwCursorPosEvent final {
- glm::fvec2 pos;
-};
-
-struct GlfwFramebufferSizeEvent final {
- glm::ivec2 size;
- float aspect;
-};
-
-struct GlfwJoystickEvent final {
- int joystick_id;
- int event_type;
-};
-
-struct GlfwKeyEvent final {
- int key { GLFW_KEY_UNKNOWN };
- int scancode;
- int action;
- int mods;
-};
-
-struct GlfwMouseButtonEvent final {
- int button { GLFW_KEY_UNKNOWN };
- int action;
- int mods;
-};
-
-struct GlfwScrollEvent final {
- float dx;
- float dy;
-};
-} // namespace io
-
-#endif // CLIENTFW
+#ifndef CLIENTFW
+#define CLIENTFW 1
+#pragma once
+
+namespace io
+{
+struct GlfwCursorPosEvent final {
+ glm::fvec2 pos;
+};
+
+struct GlfwFramebufferSizeEvent final {
+ glm::ivec2 size;
+ float aspect;
+};
+
+struct GlfwJoystickEvent final {
+ int joystick_id;
+ int event_type;
+};
+
+struct GlfwKeyEvent final {
+ int key { GLFW_KEY_UNKNOWN };
+ int scancode;
+ int action;
+ int mods;
+};
+
+struct GlfwMouseButtonEvent final {
+ int button { GLFW_KEY_UNKNOWN };
+ int action;
+ int mods;
+};
+
+struct GlfwScrollEvent final {
+ float dx;
+ float dy;
+};
+} // namespace io
+
+#endif // CLIENTFW