From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/core/math/constexpr.hh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/core/math/constexpr.hh') diff --git a/src/core/math/constexpr.hh b/src/core/math/constexpr.hh index 4158803..7aba4d2 100644 --- a/src/core/math/constexpr.hh +++ b/src/core/math/constexpr.hh @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: constexpr.hh +// Description: Compile-time expressions + +#ifndef CORE_MATH_CONSTEXPR_HH +#define CORE_MATH_CONSTEXPR_HH #pragma once #include "core/math/concepts.hh" @@ -70,3 +77,5 @@ constexpr scalar math::radians(const scalar x) { return static_cast(static_cast(x) * M_PI / 180.0); } + +#endif -- cgit