summaryrefslogtreecommitdiffstats
path: root/game/shared/types.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/shared/types.hh
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/shared/types.hh')
-rw-r--r--game/shared/types.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/shared/types.hh b/game/shared/types.hh
index a107e54..85fbd19 100644
--- a/game/shared/types.hh
+++ b/game/shared/types.hh
@@ -20,7 +20,7 @@ using voxel_pos_xz = glm::vec<2, local_pos::value_type>;
template<>
struct std::hash<chunk_pos> final {
- constexpr inline std::size_t operator()(const chunk_pos &cpos) const
+ constexpr inline std::size_t operator()(const chunk_pos& cpos) const
{
std::size_t value = 0;
value ^= cpos.x * 73856093;
@@ -32,7 +32,7 @@ struct std::hash<chunk_pos> final {
template<>
struct std::hash<chunk_pos_xz> final {
- constexpr inline std::size_t operator()(const chunk_pos_xz &cwpos) const
+ constexpr inline std::size_t operator()(const chunk_pos_xz& cwpos) const
{
std::size_t value = 0;
value ^= cwpos.x * 73856093;