From 88c01588aa0830e219eaa62588839e4d1e2883ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Wed, 25 Jun 2025 00:44:36 +0500 Subject: Clang-format the entire source code --- game/shared/feature.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'game/shared/feature.cc') diff --git a/game/shared/feature.cc b/game/shared/feature.cc index 845bb40..eb6cceb 100644 --- a/game/shared/feature.cc +++ b/game/shared/feature.cc @@ -1,4 +1,5 @@ #include "shared/pch.hh" + #include "shared/feature.hh" #include "shared/chunk.hh" @@ -6,7 +7,7 @@ #include "shared/dimension.hh" #include "shared/voxel_storage.hh" -void Feature::place(const voxel_pos &vpos, Dimension *dimension) const +void Feature::place(const voxel_pos& vpos, Dimension* dimension) const { for(const auto [rpos, voxel, overwrite] : (*this)) { auto it_vpos = vpos + rpos; @@ -28,7 +29,7 @@ void Feature::place(const voxel_pos &vpos, Dimension *dimension) const } } -void Feature::place(const voxel_pos &vpos, const chunk_pos &cpos, VoxelStorage &voxels) const +void Feature::place(const voxel_pos& vpos, const chunk_pos& cpos, VoxelStorage& voxels) const { for(const auto [rpos, voxel, overwrite] : (*this)) { auto it_vpos = vpos + rpos; -- cgit