summaryrefslogtreecommitdiffstats
path: root/src/core/math/angles.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/core/math/angles.hh
parent6bb4233d5b2a1688e63c947542e92ec5d5a857a6 (diff)
downloadvoxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.tar.bz2
voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.zip
Add include guards and header comments to sources
Diffstat (limited to 'src/core/math/angles.hh')
-rw-r--r--src/core/math/angles.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/math/angles.hh b/src/core/math/angles.hh
index 174f320..b339323 100644
--- a/src/core/math/angles.hh
+++ b/src/core/math/angles.hh
@@ -1,3 +1,10 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: angles.hh
+// Description: Angle utilities
+
+#ifndef CORE_MATH_ANGLES_HH
+#define CORE_MATH_ANGLES_HH
#pragma once
#include "core/math/constexpr.hh"
@@ -101,3 +108,5 @@ inline void math::vectors(const glm::fvec3& angles, glm::fvec3* forward, glm::fv
up->z = nsv.x * ncv.y * pcv.z + psv.y * psv.z;
}
}
+
+#endif