Math: Fix missing includes

Former-commit-id: 21ff7a6db4beb9fc7968e9bf1ba7478ca2f55e21
This commit is contained in:
Lynix 2016-03-06 14:54:56 +01:00
parent e9d126b3a4
commit 300dc82806
28 changed files with 42 additions and 14 deletions

View File

@ -5,7 +5,6 @@
#ifndef NAZARA_BOUNDINGVOLUME_HPP
#define NAZARA_BOUNDINGVOLUME_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Box.hpp>
#include <Nazara/Math/Enums.hpp>
@ -15,6 +14,8 @@
namespace Nz
{
struct SerializationContext;
template<typename T>
class BoundingVolume
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Math/Algorithm.hpp>

View File

@ -7,7 +7,6 @@
#ifndef NAZARA_BOX_HPP
#define NAZARA_BOX_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Enums.hpp>
#include <Nazara/Math/Matrix4.hpp>
@ -17,6 +16,8 @@
namespace Nz
{
struct SerializationContext;
template<typename T>
class Box
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <algorithm>

View File

@ -7,13 +7,14 @@
#ifndef NAZARA_EULERANGLES_HPP
#define NAZARA_EULERANGLES_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Quaternion.hpp>
#include <Nazara/Math/Vector3.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T>
class EulerAngles
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <Nazara/Math/Config.hpp>

View File

@ -7,7 +7,6 @@
#ifndef NAZARA_FRUSTUM_HPP
#define NAZARA_FRUSTUM_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/BoundingVolume.hpp>
#include <Nazara/Math/Enums.hpp>
@ -19,6 +18,8 @@
namespace Nz
{
struct SerializationContext;
template<typename T>
class Frustum
{

View File

@ -6,6 +6,7 @@
// http://www.crownandcutlass.com/features/technicaldetails/frustum.html
// http://www.lighthouse3d.com/tutorials/view-frustum-culling/
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <cstring>

View File

@ -9,12 +9,13 @@
///FIXME: Matrices column-major, difficile de bosser avec (Tout passer en row-major et transposer dans les shaders ?)
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Config.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T> class EulerAngles;
template<typename T> class Quaternion;
template<typename T> class Vector2;

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Math/Algorithm.hpp>

View File

@ -7,7 +7,6 @@
#ifndef NAZARA_ORIENTEDBOX_HPP
#define NAZARA_ORIENTEDBOX_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Box.hpp>
#include <Nazara/Math/Matrix4.hpp>
@ -15,6 +14,8 @@
namespace Nz
{
struct SerializationContext;
template<typename T>
class OrientedBox
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <cstring>

View File

@ -7,12 +7,13 @@
#ifndef NAZARA_PLANE_HPP
#define NAZARA_PLANE_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Vector3.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T>
class Plane
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <cstring>

View File

@ -7,11 +7,12 @@
#ifndef NAZARA_QUATERNION_HPP
#define NAZARA_QUATERNION_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T> class EulerAngles;
template<typename T> class Vector3;

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <Nazara/Math/Config.hpp>

View File

@ -7,7 +7,6 @@
#ifndef NAZARA_RAY_HPP
#define NAZARA_RAY_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Box.hpp>
#include <Nazara/Math/Frustum.hpp>
@ -19,6 +18,8 @@
namespace Nz
{
struct SerializationContext;
template<typename T>
class Ray
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <limits>
#include <Nazara/Core/Debug.hpp>

View File

@ -7,13 +7,14 @@
#ifndef NAZARA_RECT_HPP
#define NAZARA_RECT_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Enums.hpp>
#include <Nazara/Math/Vector2.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T>
class Rect
{

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <algorithm>

View File

@ -7,12 +7,13 @@
#ifndef NAZARA_SPHERE_HPP
#define NAZARA_SPHERE_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Vector3.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T> class Box;
template<typename T>

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <Nazara/Math/Box.hpp>

View File

@ -7,11 +7,12 @@
#ifndef NAZARA_VECTOR2_HPP
#define NAZARA_VECTOR2_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T> class Vector3;
template<typename T> class Vector4;

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <cstring>

View File

@ -7,11 +7,12 @@
#ifndef NAZARA_VECTOR3_HPP
#define NAZARA_VECTOR3_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T> class Vector2;
template<typename T> class Vector4;

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <cstring>

View File

@ -7,11 +7,12 @@
#ifndef NAZARA_VECTOR4_HPP
#define NAZARA_VECTOR4_HPP
#include <Nazara/Core/Serialization.hpp>
#include <Nazara/Core/String.hpp>
namespace Nz
{
struct SerializationContext;
template<typename T> class Vector2;
template<typename T> class Vector3;

View File

@ -2,6 +2,7 @@
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <cstring>