diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 15:45:26 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 15:45:26 +0500 |
| commit | b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (patch) | |
| tree | 8b2903b313a71f8851705be400fc3e0a8317028f /game/client/world/chunk_mesher.cc | |
| parent | a6ea7b7bbc66327cc2a957496f65dcfab5361cee (diff) | |
| download | voxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.tar.bz2 voxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.zip | |
Revise style: split include groups
Diffstat (limited to 'game/client/world/chunk_mesher.cc')
| -rw-r--r-- | game/client/world/chunk_mesher.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/game/client/world/chunk_mesher.cc b/game/client/world/chunk_mesher.cc index 53c4882..e2f1e10 100644 --- a/game/client/world/chunk_mesher.cc +++ b/game/client/world/chunk_mesher.cc @@ -97,8 +97,8 @@ public: private: bool vis_test(voxel_id voxel, const world::VoxelInfo* info, const local_pos& lpos) const; void push_quad_a(const world::VoxelInfo* info, const glm::fvec3& pos, const glm::fvec2& size, world::voxel_face face); - void push_quad_v( - const world::VoxelInfo* info, const glm::fvec3& pos, const glm::fvec2& size, world::voxel_face face, std::size_t entropy); + void push_quad_v(const world::VoxelInfo* info, const glm::fvec3& pos, const glm::fvec2& size, world::voxel_face face, + std::size_t entropy); void make_cube(voxel_id voxel, const world::VoxelInfo* info, const local_pos& lpos, world::voxel_vis vis, std::size_t entropy); void cache_chunk(const chunk_pos& cpos); @@ -304,8 +304,8 @@ void GL_MeshingTask::push_quad_a(const world::VoxelInfo* info, const glm::fvec3& } } -void GL_MeshingTask::push_quad_v( - const world::VoxelInfo* info, const glm::fvec3& pos, const glm::fvec2& size, world::voxel_face face, std::size_t entropy) +void GL_MeshingTask::push_quad_v(const world::VoxelInfo* info, const glm::fvec3& pos, const glm::fvec2& size, world::voxel_face face, + std::size_t entropy) { const world::voxel_facing facing = get_facing(face, info->type); const world::VoxelTexture& vtex = info->textures[static_cast<std::size_t>(face)]; @@ -319,8 +319,8 @@ void GL_MeshingTask::push_quad_v( } } -void GL_MeshingTask::make_cube( - voxel_id voxel, const world::VoxelInfo* info, const local_pos& lpos, world::voxel_vis vis, std::size_t entropy) +void GL_MeshingTask::make_cube(voxel_id voxel, const world::VoxelInfo* info, const local_pos& lpos, world::voxel_vis vis, + std::size_t entropy) { const glm::fvec3 fpos = glm::fvec3(lpos); const glm::fvec2 fsize = glm::fvec2(1.0f, 1.0f); |
