chore: add clang-format and pre-commit configuration

This commit is contained in:
2026-04-28 09:22:55 +08:00
parent dc3be5a4bc
commit 611a795481
62 changed files with 2166 additions and 2134 deletions

View File

@@ -1,17 +1,13 @@
#include <Cubed/input.hpp>
#include <Cubed/tools/cubed_assert.hpp>
namespace Cubed {
#include "Cubed/input.hpp"
namespace Cubed {
static InputState input_state;
namespace Input {
InputState& get_input_state() {
return input_state;
}
}
InputState& get_input_state() { return input_state; }
} // namespace Input
}
} // namespace Cubed