Include-What-You-Use (#137)

* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
This commit is contained in:
Gawaboumga
2017-10-01 11:17:10 +02:00
committed by Jérôme Leclercq
parent bccbc0dbf1
commit bbac0838dd
301 changed files with 191 additions and 553 deletions

View File

@@ -3,9 +3,9 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Physics3D/Collider3D.hpp>
#include <Nazara/Core/PrimitiveList.hpp>
#include <Nazara/Physics3D/PhysWorld3D.hpp>
#include <Newton/Newton.h>
#include <memory>
#include <Nazara/Physics3D/Debug.hpp>
namespace Nz
@@ -50,7 +50,7 @@ namespace Nz
{
Vector3f min, max;
// Si nous n'avons aucune instance, nous en créons une temporaire
// Si nous n'avons aucune instance, nous en cr<EFBFBD>ons une temporaire
if (m_handles.empty())
{
PhysWorld3D world;
@@ -61,7 +61,7 @@ namespace Nz
}
NewtonDestroyCollision(collision);
}
else // Sinon on utilise une instance au hasard (elles sont toutes identiques de toute façon)
else // Sinon on utilise une instance au hasard (elles sont toutes identiques de toute fa<EFBFBD>on)
NewtonCollisionCalculateAABB(m_handles.begin()->second, offsetMatrix, min, max);
return Boxf(scale * min, scale * max);
@@ -72,7 +72,7 @@ namespace Nz
float inertiaMatrix[3];
float origin[3];
// Si nous n'avons aucune instance, nous en créons une temporaire
// Si nous n'avons aucune instance, nous en cr<EFBFBD>ons une temporaire
if (m_handles.empty())
{
PhysWorld3D world;
@@ -83,7 +83,7 @@ namespace Nz
}
NewtonDestroyCollision(collision);
}
else // Sinon on utilise une instance au hasard (elles sont toutes identiques de toute façon)
else // Sinon on utilise une instance au hasard (elles sont toutes identiques de toute fa<EFBFBD>on)
NewtonConvexCollisionCalculateInertialMatrix(m_handles.begin()->second, inertiaMatrix, origin);
if (inertia)
@@ -97,7 +97,7 @@ namespace Nz
{
float volume;
// Si nous n'avons aucune instance, nous en créons une temporaire
// Si nous n'avons aucune instance, nous en cr<EFBFBD>ons une temporaire
if (m_handles.empty())
{
PhysWorld3D world;
@@ -108,7 +108,7 @@ namespace Nz
}
NewtonDestroyCollision(collision);
}
else // Sinon on utilise une instance au hasard (elles sont toutes identiques de toute façon)
else // Sinon on utilise une instance au hasard (elles sont toutes identiques de toute fa<EFBFBD>on)
volume = NewtonConvexCollisionCalculateVolume(m_handles.begin()->second);
return volume;

View File

@@ -3,8 +3,6 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Physics3D/RigidBody3D.hpp>
#include <Nazara/Math/Algorithm.hpp>
#include <Nazara/Physics3D/Config.hpp>
#include <Nazara/Physics3D/PhysWorld3D.hpp>
#include <Newton/Newton.h>
#include <algorithm>