summaryrefslogtreecommitdiffstats
path: root/src/game/shared/world/voxel.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 23:17:56 +0500
committeruntodesu <kirill@untode.su>2025-12-26 23:17:56 +0500
commit0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e (patch)
tree90ddefa28b40b6384dd9618bb7573704de2733a9 /src/game/shared/world/voxel.hh
parent6bb4233d5b2a1688e63c947542e92ec5d5a857a6 (diff)
downloadvoxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.tar.bz2
voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.zip
Add include guards and header comments to sources
Diffstat (limited to 'src/game/shared/world/voxel.hh')
-rw-r--r--src/game/shared/world/voxel.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/shared/world/voxel.hh b/src/game/shared/world/voxel.hh
index 0a8c4a3..8f6e344 100644
--- a/src/game/shared/world/voxel.hh
+++ b/src/game/shared/world/voxel.hh
@@ -1,3 +1,10 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: voxel.hh
+// Description: Voxel metadata... A metavoxel!
+
+#ifndef SHARED_WORLD_VOXEL_HH
+#define SHARED_WORLD_VOXEL_HH
#pragma once
#include "core/math/aabb.hh"
@@ -269,3 +276,5 @@ constexpr bool Voxel::is_surface_material(void) const noexcept
{
return m_surface_material == Material;
}
+
+#endif