summaryrefslogtreecommitdiffstats
path: root/src/game/shared/world/ray_aabb.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/shared/world/ray_aabb.hh')
-rw-r--r--src/game/shared/world/ray_aabb.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/shared/world/ray_aabb.hh b/src/game/shared/world/ray_aabb.hh
index 49c0846..640a02c 100644
--- a/src/game/shared/world/ray_aabb.hh
+++ b/src/game/shared/world/ray_aabb.hh
@@ -1,3 +1,10 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: ray_aabb.hh
+// Description: Check ray intersections against an AABB
+
+#ifndef SHARED_WORLD_RAY_AABB_HH
+#define SHARED_WORLD_RAY_AABB_HH
#pragma once
#include "core/math/aabb.hh"
@@ -28,3 +35,5 @@ constexpr const glm::fvec3& RayAABB::direction(void) const noexcept
{
return m_direction;
}
+
+#endif