diff options
Diffstat (limited to 'core/math')
| -rw-r--r-- | core/math/aabb.hh | 4 | ||||
| -rw-r--r-- | core/math/angles.hh | 4 | ||||
| -rw-r--r-- | core/math/concepts.hh | 4 | ||||
| -rw-r--r-- | core/math/constexpr.hh | 4 | ||||
| -rw-r--r-- | core/math/crc64.hh | 4 | ||||
| -rw-r--r-- | core/math/randomizer.hh | 4 | ||||
| -rw-r--r-- | core/math/vectors.hh | 4 |
7 files changed, 0 insertions, 28 deletions
diff --git a/core/math/aabb.hh b/core/math/aabb.hh index 943eeee..b843cd9 100644 --- a/core/math/aabb.hh +++ b/core/math/aabb.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_AABB_HH -#define CORE_MATH_AABB_HH 1 #pragma once namespace math @@ -28,5 +26,3 @@ public: glm::fvec3 max; }; } // namespace math - -#endif // CORE_MATH_AABB_HH diff --git a/core/math/angles.hh b/core/math/angles.hh index 868160b..174f320 100644 --- a/core/math/angles.hh +++ b/core/math/angles.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_ANGLES_HH -#define CORE_MATH_ANGLES_HH 1 #pragma once #include "core/math/constexpr.hh" @@ -103,5 +101,3 @@ 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 // CORE_MATH_ANGLES_HH diff --git a/core/math/concepts.hh b/core/math/concepts.hh index 1b9beb9..70859c2 100644 --- a/core/math/concepts.hh +++ b/core/math/concepts.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_CONCEPTS_HH -#define CORE_MATH_CONCEPTS_HH 1 #pragma once namespace math @@ -11,5 +9,3 @@ concept Integer = std::is_integral_v<T>; template<typename T> concept FloatingPoint = std::is_floating_point_v<T>; } // namespace math - -#endif // CORE_MATH_CONCEPTS_HH diff --git a/core/math/constexpr.hh b/core/math/constexpr.hh index 263a6e8..65dbbbf 100644 --- a/core/math/constexpr.hh +++ b/core/math/constexpr.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_CONSTEXPR_HH -#define CORE_MATH_CONSTEXPR_HH 1 #pragma once #include "core/math/concepts.hh" @@ -198,5 +196,3 @@ constexpr static inline const T math::smoothstep(const T x, const T y, const F a const F t = math::clamp<F>((a - x) / (y - x), F(0), F(1)); return static_cast<T>(t * t * (F(3) - F(2) * t)); } - -#endif // CORE_MATH_CONSTEXPR_HH diff --git a/core/math/crc64.hh b/core/math/crc64.hh index ac2c4b6..4dc484d 100644 --- a/core/math/crc64.hh +++ b/core/math/crc64.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_CRC64_HH -#define CORE_MATH_CRC64_HH 1 #pragma once namespace math @@ -8,5 +6,3 @@ std::uint64_t crc64(const void* buffer, std::size_t size, std::uint64_t combine std::uint64_t crc64(const std::vector<std::byte>& buffer, std::uint64_t combine = UINT64_C(0)); std::uint64_t crc64(const std::string& buffer, std::uint64_t combine = UINT64_C(0)); } // namespace math - -#endif // CORE_MATH_CRC64_HH diff --git a/core/math/randomizer.hh b/core/math/randomizer.hh index 206af42..04665f9 100644 --- a/core/math/randomizer.hh +++ b/core/math/randomizer.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_RANDOMIZER_HH -#define CORE_MATH_RANDOMIZER_HH 1 #pragma once namespace math @@ -56,5 +54,3 @@ inline void math::Randomizer<T>::clear(void) m_vector.clear(); m_dist = std::uniform_int_distribution<std::size_t>(0, 0); } - -#endif // CORE_MATH_RANDOMIZER_HH diff --git a/core/math/vectors.hh b/core/math/vectors.hh index 06d1bcf..73c9ab0 100644 --- a/core/math/vectors.hh +++ b/core/math/vectors.hh @@ -1,5 +1,3 @@ -#ifndef CORE_MATH_VECTORS_HH -#define CORE_MATH_VECTORS_HH 1 #pragma once #include "core/math/concepts.hh" @@ -43,5 +41,3 @@ constexpr static inline const T math::distance2(const glm::vec<3, T>& vector_a, { return math::length2(vector_a - vector_b); } - -#endif // CORE_MATH_VECTORS_HH |
