Rename shapes folder into colliders

git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@461 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
chappuis.daniel 2012-01-18 23:17:44 +00:00
parent c1eabd3e2b
commit 401a60b74a
23 changed files with 57 additions and 16 deletions

View File

@ -25,7 +25,7 @@
// Libraries
#include "Body.h"
#include "../shapes/Collider.h"
#include "../colliders/Collider.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -30,8 +30,8 @@
#include <stdexcept>
#include <cassert>
#include "../mathematics/Transform.h"
#include "../shapes/AABB.h"
#include "../shapes/Collider.h"
#include "../colliders/AABB.h"
#include "../colliders/Collider.h"
#include "../configuration.h"
// Namespace reactphysics3d

View File

@ -25,7 +25,7 @@
// Libraries
#include "RigidBody.h"
#include "../shapes/Collider.h"
#include "../colliders/Collider.h"
// We want to use the ReactPhysics3D namespace
using namespace reactphysics3d;

View File

@ -29,7 +29,7 @@
// Libraries
#include <cassert>
#include "Body.h"
#include "../shapes/Collider.h"
#include "../colliders/Collider.h"
#include "../mathematics/mathematics.h"
// Namespace reactphysics3d

View File

@ -28,7 +28,7 @@
#include "broadphase/SweepAndPruneAlgorithm.h"
#include "narrowphase/GJK/GJKAlgorithm.h"
#include "../body/Body.h"
#include "../shapes/BoxCollider.h"
#include "../colliders/BoxCollider.h"
#include "../body/RigidBody.h"
#include "../configuration.h"
#include <cassert>

View File

@ -27,7 +27,7 @@
#define CONTACT_INFO_H
// Libraries
#include "../shapes/BoxCollider.h"
#include "../colliders/BoxCollider.h"
#include "../mathematics/mathematics.h"
// ReactPhysics3D namespace

View File

@ -28,7 +28,7 @@
// Libraries
#include "BroadPhaseAlgorithm.h"
#include "../../shapes/AABB.h"
#include "../../colliders/AABB.h"
// Namespace ReactPhysics3D

View File

@ -28,7 +28,7 @@
// Libraries
#include "../GJK/Simplex.h"
#include "../../../shapes/Collider.h"
#include "../../../colliders/Collider.h"
#include "../../ContactInfo.h"
#include "../../../mathematics/mathematics.h"
#include "TriangleEPA.h"

View File

@ -29,7 +29,7 @@
// Libraries
#include "../NarrowPhaseAlgorithm.h"
#include "../../ContactInfo.h"
#include "../../../shapes/Collider.h"
#include "../../../colliders/Collider.h"
#include "../EPA/EPAAlgorithm.h"

41
src/decimal.h Executable file
View File

@ -0,0 +1,41 @@
/********************************************************************************
* ReactPhysics3D physics library, http://code.google.com/p/reactphysics3d/ *
* Copyright (c) 2010-2012 Daniel Chappuis *
*********************************************************************************
* *
* This software is provided 'as-is', without any express or implied warranty. *
* In no event will the authors be held liable for any damages arising from the *
* use of this software. *
* *
* Permission is granted to anyone to use this software for any purpose, *
* including commercial applications, and to alter it and redistribute it *
* freely, subject to the following restrictions: *
* *
* 1. The origin of this software must not be misrepresented; you must not claim *
* that you wrote the original software. If you use this software in a *
* product, an acknowledgment in the product documentation would be *
* appreciated but is not required. *
* *
* 2. Altered source versions must be plainly marked as such, and must not be *
* misrepresented as being the original software. *
* *
* 3. This notice may not be removed or altered from any source distribution. *
* *
********************************************************************************/
#ifndef DECIMAL_H
#define DECIMAL_H
// ReactPhysiscs3D namespace
namespace reactphysics3d {
#if defined(DOUBLE_PRECISION_ENABLED) // If we are compiling for double precision
typedef double decimal;
#else // If we are compiling for single precision
typedef float decimal;
#endif
}
#endif

View File

@ -40,12 +40,12 @@
#include "body/RigidBody.h"
#include "engine/PhysicsWorld.h"
#include "engine/PhysicsEngine.h"
#include "shapes/Collider.h"
#include "shapes/BoxCollider.h"
#include "shapes/SphereCollider.h"
#include "shapes/ConeCollider.h"
#include "shapes/CylinderCollider.h"
#include "shapes/AABB.h"
#include "colliders/Collider.h"
#include "colliders/BoxCollider.h"
#include "colliders/SphereCollider.h"
#include "colliders/ConeCollider.h"
#include "colliders/CylinderCollider.h"
#include "colliders/AABB.h"
// Alias to the ReactPhysics3D namespace
namespace rp3d = reactphysics3d;