Apply header guard check

This commit is contained in:
Jérôme Leclercq
2021-10-26 15:52:46 +02:00
parent b85f6b68ac
commit 93ec196dc4
476 changed files with 1414 additions and 1327 deletions

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_ALGORITHM_MATH_HPP
#define NAZARA_ALGORITHM_MATH_HPP
#ifndef NAZARA_MATH_ALGORITHM_HPP
#define NAZARA_MATH_ALGORITHM_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Math/Enums.hpp>
@@ -56,4 +56,4 @@ namespace Nz
#include <Nazara/Math/Algorithm.inl>
#endif // NAZARA_ALGORITHM_MATH_HPP
#endif // NAZARA_MATH_ALGORITHM_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_ANGLE_HPP
#define NAZARA_ANGLE_HPP
#ifndef NAZARA_MATH_ANGLE_HPP
#define NAZARA_MATH_ANGLE_HPP
#include <Nazara/Core/TypeTag.hpp>
#include <Nazara/Math/Algorithm.hpp>
@@ -102,4 +102,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::Angle<Unit, T>& angle);
#include <Nazara/Math/Angle.inl>
#endif // NAZARA_ANGLE_HPP
#endif // NAZARA_MATH_ANGLE_HPP

View File

@@ -2,8 +2,10 @@
// This file is part of the "Nazara Engine - Math module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#ifndef NAZARA_BOUNDINGVOLUME_HPP
#define NAZARA_BOUNDINGVOLUME_HPP
#pragma once
#ifndef NAZARA_MATH_BOUNDINGVOLUME_HPP
#define NAZARA_MATH_BOUNDINGVOLUME_HPP
#include <Nazara/Math/Box.hpp>
#include <Nazara/Math/Enums.hpp>
@@ -81,4 +83,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::BoundingVolume<T>& volume)
#include <Nazara/Math/BoundingVolume.inl>
#endif // NAZARA_BOUNDINGVOLUME_HPP
#endif // NAZARA_MATH_BOUNDINGVOLUME_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_BOX_HPP
#define NAZARA_BOX_HPP
#ifndef NAZARA_MATH_BOX_HPP
#define NAZARA_MATH_BOX_HPP
#include <Nazara/Math/Enums.hpp>
#include <Nazara/Math/Matrix4.hpp>
@@ -109,4 +109,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::Box<T>& box);
#include <Nazara/Math/Box.inl>
#endif // NAZARA_BOX_HPP
#endif // NAZARA_MATH_BOX_HPP

View File

@@ -25,8 +25,8 @@
#pragma once
#ifndef NAZARA_CONFIG_MATH_HPP
#define NAZARA_CONFIG_MATH_HPP
#ifndef NAZARA_MATH_CONFIG_HPP
#define NAZARA_MATH_CONFIG_HPP
/*!
* \defgroup math (NazaraMath) Mathematics module
@@ -41,4 +41,4 @@
// Enable tests of security based on the code (Advised for the developpement)
#define NAZARA_MATH_SAFE 1
#endif // NAZARA_CONFIG_MATH_HPP
#endif // NAZARA_MATH_CONFIG_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_ENUMS_MATH_HPP
#define NAZARA_ENUMS_MATH_HPP
#ifndef NAZARA_MATH_ENUMS_HPP
#define NAZARA_MATH_ENUMS_HPP
#include <Nazara/Core/Algorithm.hpp>
@@ -78,4 +78,4 @@ namespace Nz
constexpr std::size_t RectCornerCount = UnderlyingCast(RectCorner::Max) + 1;
}
#endif // NAZARA_ENUMS_MATH_HPP
#endif // NAZARA_MATH_ENUMS_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_EULERANGLES_HPP
#define NAZARA_EULERANGLES_HPP
#ifndef NAZARA_MATH_EULERANGLES_HPP
#define NAZARA_MATH_EULERANGLES_HPP
#include <Nazara/Math/Angle.hpp>
#include <Nazara/Math/Quaternion.hpp>
@@ -76,4 +76,4 @@ template<typename T> std::ostream& operator<<(std::ostream& out, const Nz::Euler
#include <Nazara/Math/EulerAngles.inl>
#endif // NAZARA_EULERANGLES_HPP
#endif // NAZARA_MATH_EULERANGLES_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_FRUSTUM_HPP
#define NAZARA_FRUSTUM_HPP
#ifndef NAZARA_MATH_FRUSTUM_HPP
#define NAZARA_MATH_FRUSTUM_HPP
#include <Nazara/Math/Angle.hpp>
#include <Nazara/Math/BoundingVolume.hpp>
@@ -75,4 +75,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::Frustum<T>& frustum);
#include <Nazara/Math/Frustum.inl>
#endif // NAZARA_FRUSTUM_HPP
#endif // NAZARA_MATH_FRUSTUM_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_MATRIX4_HPP
#define NAZARA_MATRIX4_HPP
#ifndef NAZARA_MATH_MATRIX4_HPP
#define NAZARA_MATH_MATRIX4_HPP
///FIXME: Matrices column-major, difficile de bosser avec (Tout passer en row-major et transposer dans les shaders ?)
@@ -155,4 +155,4 @@ template<typename T> Nz::Matrix4<T> operator*(T scale, const Nz::Matrix4<T>& mat
#include <Nazara/Math/Matrix4.inl>
#endif // NAZARA_MATRIX4_HPP
#endif // NAZARA_MATH_MATRIX4_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_ORIENTEDBOX_HPP
#define NAZARA_ORIENTEDBOX_HPP
#ifndef NAZARA_MATH_ORIENTEDBOX_HPP
#define NAZARA_MATH_ORIENTEDBOX_HPP
#include <Nazara/Math/Box.hpp>
#include <Nazara/Math/Enums.hpp>
@@ -78,4 +78,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::OrientedBox<T>& orientedBo
#include <Nazara/Math/OrientedBox.inl>
#endif // NAZARA_ORIENTEDBOX_HPP
#endif // NAZARA_MATH_ORIENTEDBOX_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_PIDCONTROLLER_HPP
#define NAZARA_PIDCONTROLLER_HPP
#ifndef NAZARA_MATH_PIDCONTROLLER_HPP
#define NAZARA_MATH_PIDCONTROLLER_HPP
namespace Nz
{
@@ -28,4 +28,4 @@ namespace Nz
#include <Nazara/Math/PidController.inl>
#endif
#endif // NAZARA_MATH_PIDCONTROLLER_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_PLANE_HPP
#define NAZARA_PLANE_HPP
#ifndef NAZARA_MATH_PLANE_HPP
#define NAZARA_MATH_PLANE_HPP
#include <Nazara/Math/Vector3.hpp>
#include <string>
@@ -70,4 +70,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::Plane<T>& plane);
#include <Nazara/Math/Plane.inl>
#endif // NAZARA_PLANE_HPP
#endif // NAZARA_MATH_PLANE_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_QUATERNION_HPP
#define NAZARA_QUATERNION_HPP
#ifndef NAZARA_MATH_QUATERNION_HPP
#define NAZARA_MATH_QUATERNION_HPP
#include <Nazara/Math/Angle.hpp>
#include <string>
@@ -102,4 +102,4 @@ template<typename T> std::ostream& operator<<(std::ostream& out, const Nz::Quate
#include <Nazara/Math/Quaternion.inl>
#endif // NAZARA_QUATERNION_HPP
#endif // NAZARA_MATH_QUATERNION_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RAY_HPP
#define NAZARA_RAY_HPP
#ifndef NAZARA_MATH_RAY_HPP
#define NAZARA_MATH_RAY_HPP
#include <Nazara/Math/Box.hpp>
#include <Nazara/Math/Frustum.hpp>
@@ -84,4 +84,4 @@ template<typename T> std::ostream& operator<<(std::ostream& out, const Nz::Ray<T
#include <Nazara/Math/Ray.inl>
#endif // NAZARA_RAY_HPP
#endif // NAZARA_MATH_RAY_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_RECT_HPP
#define NAZARA_RECT_HPP
#ifndef NAZARA_MATH_RECT_HPP
#define NAZARA_MATH_RECT_HPP
#include <Nazara/Math/Enums.hpp>
#include <Nazara/Math/Vector2.hpp>
@@ -104,4 +104,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::Rect<T>& rect);
#include <Nazara/Math/Rect.inl>
#endif // NAZARA_RECT_HPP
#endif // NAZARA_MATH_RECT_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_SPHERE_HPP
#define NAZARA_SPHERE_HPP
#ifndef NAZARA_MATH_SPHERE_HPP
#define NAZARA_MATH_SPHERE_HPP
#include <Nazara/Math/Vector3.hpp>
#include <string>
@@ -89,4 +89,4 @@ std::ostream& operator<<(std::ostream& out, const Nz::Sphere<T>& sphere);
#include <Nazara/Math/Sphere.inl>
#endif // NAZARA_SPHERE_HPP
#endif // NAZARA_MATH_SPHERE_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_VECTOR2_HPP
#define NAZARA_VECTOR2_HPP
#ifndef NAZARA_MATH_VECTOR2_HPP
#define NAZARA_MATH_VECTOR2_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/TypeTag.hpp>
@@ -131,4 +131,4 @@ namespace std
#include <Nazara/Math/Vector2.inl>
#endif // NAZARA_VECTOR2_HPP
#endif // NAZARA_MATH_VECTOR2_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_VECTOR3_HPP
#define NAZARA_VECTOR3_HPP
#ifndef NAZARA_MATH_VECTOR3_HPP
#define NAZARA_MATH_VECTOR3_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/TypeTag.hpp>
@@ -151,4 +151,4 @@ namespace std
#include <Nazara/Math/Vector3.inl>
#endif // NAZARA_VECTOR3_HPP
#endif // NAZARA_MATH_VECTOR3_HPP

View File

@@ -4,8 +4,8 @@
#pragma once
#ifndef NAZARA_VECTOR4_HPP
#define NAZARA_VECTOR4_HPP
#ifndef NAZARA_MATH_VECTOR4_HPP
#define NAZARA_MATH_VECTOR4_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Core/TypeTag.hpp>
@@ -127,4 +127,4 @@ namespace std
#include <Nazara/Math/Vector4.inl>
#endif // NAZARA_VECTOR4_HPP
#endif // NAZARA_MATH_VECTOR4_HPP