diff --git a/sources/reactphysics3d/constraint/EdgeEdgeContact.cpp b/sources/reactphysics3d/constraint/EdgeEdgeContact.cpp deleted file mode 100644 index 8fdbb721..00000000 --- a/sources/reactphysics3d/constraint/EdgeEdgeContact.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/*************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -// Libraries -#include "EdgeEdgeContact.h" - -// We want to use the ReactPhysics3D namespace -using namespace reactphysics3d; - -// Constructor -EdgeEdgeContact::EdgeEdgeContact(Body* const body1, Body* const body2, const Vector3D normalVector, const Time& time, const Segment3D& contactSegment) - :Contact(body1, body2, normalVector, time), contactSegment(contactSegment) { - -} - -// Destructor -EdgeEdgeContact::~EdgeEdgeContact() { - -} diff --git a/sources/reactphysics3d/constraint/EdgeEdgeContact.h b/sources/reactphysics3d/constraint/EdgeEdgeContact.h deleted file mode 100644 index b735d6b8..00000000 --- a/sources/reactphysics3d/constraint/EdgeEdgeContact.h +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -#ifndef EDGEEDGECONTACT_H -#define EDGEEDGECONTACT_H - -// Libraries -#include "Contact.h" -#include "../mathematics/mathematics.h" - -// ReactPhysics3D namespace -namespace reactphysics3d { - -/* ------------------------------------------------------------------- - Class EdgeEdgeContact : - This class represents a edge-edge collision contact between two - bodies in the physics engine. - ------------------------------------------------------------------- -*/ -class EdgeEdgeContact : public Contact { - private : - Segment3D contactSegment; // Contact segment - - public : - EdgeEdgeContact(Body* const body1, Body* const body2, const Vector3D normalVector, const Time& time, const Segment3D& contactSegment); // Constructor - virtual ~EdgeEdgeContact(); // Destructor - - Segment3D getContactSegment() const; // Return the contact segment -}; - -// Return the contact segment -inline Segment3D EdgeEdgeContact::getContactSegment() const { - return contactSegment; -} - -} // End of the ReactPhysics3D namespace - -#endif - diff --git a/sources/reactphysics3d/constraint/EdgeVertexContact.cpp b/sources/reactphysics3d/constraint/EdgeVertexContact.cpp deleted file mode 100644 index f5bd2de9..00000000 --- a/sources/reactphysics3d/constraint/EdgeVertexContact.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/*************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -// Libraries -#include "EdgeVertexContact.h" - -// We want to use the ReactPhysics3D namespace -using namespace reactphysics3d; - -// Constructor -EdgeVertexContact::EdgeVertexContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Vector3D& contactVertex) - :Contact(body1, body2, normalVector, time), contactVertex(contactVertex) { - -} - -// Destructor -EdgeVertexContact::~EdgeVertexContact() { - -} diff --git a/sources/reactphysics3d/constraint/EdgeVertexContact.h b/sources/reactphysics3d/constraint/EdgeVertexContact.h deleted file mode 100644 index f9132f4f..00000000 --- a/sources/reactphysics3d/constraint/EdgeVertexContact.h +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -#ifndef EDGEVERTEXCONTACT_H -#define EDGEVERTEXCONTACT_H - -// Libraries -#include "Contact.h" -#include "../mathematics/mathematics.h" - -// ReactPhysics3D namespace -namespace reactphysics3d { - - -/* ------------------------------------------------------------------- - Class EdgeVertexContact : - This class represents a edge-vertex collision contact between two - bodies in the physics engine. - ------------------------------------------------------------------- -*/ -class EdgeVertexContact : public Contact { - private : - Vector3D contactVertex; // Contact vertex - - public : - EdgeVertexContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Vector3D& contactVertex); // Constructor - virtual ~EdgeVertexContact(); // Destructor - - Vector3D getContactVertex() const; // Return the contact vertex -}; - -// Return the contact vertex -inline Vector3D EdgeVertexContact::getContactVertex() const { - return contactVertex; -} - -} // End of the ReactPhysics3D namespace -#endif diff --git a/sources/reactphysics3d/constraint/FaceEdgeContact.cpp b/sources/reactphysics3d/constraint/FaceEdgeContact.cpp deleted file mode 100644 index 084045a7..00000000 --- a/sources/reactphysics3d/constraint/FaceEdgeContact.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/*************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -// Libraries -#include "FaceEdgeContact.h" - -// We want to use the ReactPhysics3D namespace -using namespace reactphysics3d; - -// Constructor -FaceEdgeContact::FaceEdgeContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Segment3D& contactSegment) - :Contact(body1, body2, normalVector, time), contactSegment(contactSegment) { - -} - -// Destructor -FaceEdgeContact::~FaceEdgeContact() { - -} - - diff --git a/sources/reactphysics3d/constraint/FaceEdgeContact.h b/sources/reactphysics3d/constraint/FaceEdgeContact.h deleted file mode 100644 index 3c29edbf..00000000 --- a/sources/reactphysics3d/constraint/FaceEdgeContact.h +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -#ifndef FACEEDGECONTACT_H -#define FACEEDGECONTACT_H - -// Libraries -#include "Contact.h" -#include "../mathematics/mathematics.h" - -// ReactPhysics3D namespace -namespace reactphysics3d { - -/* ------------------------------------------------------------------- - Class FaceEdgeContact : - This class represents a face-edge collision contact between two - bodies in the physics engine. - ------------------------------------------------------------------- -*/ -class FaceEdgeContact : public Contact { - private : - Segment3D contactSegment; - - public : - FaceEdgeContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Segment3D& contactSegment); // Constructor - virtual ~FaceEdgeContact(); // Destructor - - Segment3D getContactSegment() const; // Return the contact segment -}; - -// Return the contact segment -inline Segment3D FaceEdgeContact::getContactSegment() const { - return contactSegment; -} - -} // End of the ReactPhysics3D namespace - -#endif diff --git a/sources/reactphysics3d/constraint/FaceFaceContact.cpp b/sources/reactphysics3d/constraint/FaceFaceContact.cpp deleted file mode 100644 index 4f50f17d..00000000 --- a/sources/reactphysics3d/constraint/FaceFaceContact.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -// Libraries -#include "FaceFaceContact.h" - -// We want to use the ReactPhysics3D namespace -using namespace reactphysics3d; - -// Constructor -FaceFaceContact::FaceFaceContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Polygon3D& contactPolygon) - :Contact(body1, body2, normalVector, time), contactPolygon(contactPolygon) { - -} - -// Destructor -FaceFaceContact::~FaceFaceContact() { - -} diff --git a/sources/reactphysics3d/constraint/FaceFaceContact.h b/sources/reactphysics3d/constraint/FaceFaceContact.h deleted file mode 100644 index d58573ca..00000000 --- a/sources/reactphysics3d/constraint/FaceFaceContact.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -#ifndef FACEFACECONTACT_H -#define FACEFACECONTACT_H - -// Libraries -#include "Contact.h" -#include "../mathematics/mathematics.h" - -// ReactPhysics3D namespace -namespace reactphysics3d { - -/* ------------------------------------------------------------------- - Class FaceFaceContact : - This class represents a face-face collision contact between two - bodies in the physics engine. - ------------------------------------------------------------------- -*/ -class FaceFaceContact : public Contact { - private : - Polygon3D contactPolygon; - - public : - FaceFaceContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Polygon3D& contactPolygon); // Constructor - virtual ~FaceFaceContact(); // Destructor - - Polygon3D getContactPolygon() const; // Return the contact polygon - -}; - -// Return the contact polygon -inline Polygon3D FaceFaceContact::getContactPolygon() const { - return contactPolygon; -} - -} // End of the ReactPhysics3D namespace -#endif diff --git a/sources/reactphysics3d/constraint/FaceVertexContact.cpp b/sources/reactphysics3d/constraint/FaceVertexContact.cpp deleted file mode 100644 index 62c54664..00000000 --- a/sources/reactphysics3d/constraint/FaceVertexContact.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -// Libraries -#include "FaceVertexContact.h" - -// We want to use the ReactPhysics3D namespace -using namespace reactphysics3d; - -// Constructor -FaceVertexContact::FaceVertexContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Vector3D& contactVertex) - :Contact(body1, body2, normalVector, time), contactVertex(contactVertex) { - -} - -// Destructor -FaceVertexContact::~FaceVertexContact() { - -} diff --git a/sources/reactphysics3d/constraint/FaceVertexContact.h b/sources/reactphysics3d/constraint/FaceVertexContact.h deleted file mode 100644 index e94aa225..00000000 --- a/sources/reactphysics3d/constraint/FaceVertexContact.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -#ifndef FACEVERTEXCONTACT_H -#define FACEVERTEXCONTACT_H - -// Libraries -#include "Contact.h" -#include "../mathematics/mathematics.h" - -// ReactPhysics3D namespace -namespace reactphysics3d { - -/* ------------------------------------------------------------------- - Class FaceVertexContact : - This class represents a face-vertex collision contact between two - bodies in the physics engine. - ------------------------------------------------------------------- -*/ -class FaceVertexContact : public Contact { - private : - Vector3D contactVertex; // Contact vertex - - public : - FaceVertexContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Vector3D& contactVertex); // Constructor - virtual ~FaceVertexContact(); // Destructor - - Vector3D getContactVertex() const; // Return the contact vertex -}; - -// Return the contact vertex -inline Vector3D FaceVertexContact::getContactVertex() const { - return contactVertex; -} - -} // End of the ReactPhysics3D namespace - -#endif diff --git a/sources/reactphysics3d/constraint/VertexVertexContact.cpp b/sources/reactphysics3d/constraint/VertexVertexContact.cpp deleted file mode 100644 index 973b7712..00000000 --- a/sources/reactphysics3d/constraint/VertexVertexContact.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -// Libraries -#include "VertexVertexContact.h" - -// We want to use the ReactPhysics3D namespace -using namespace reactphysics3d; - -// Constructor -VertexVertexContact::VertexVertexContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Vector3D& contactVertex) - :Contact(body1, body2, normalVector, time), contactVertex(contactVertex) { - -} - -// Destructor -VertexVertexContact::~VertexVertexContact() { - -} diff --git a/sources/reactphysics3d/constraint/VertexVertexContact.h b/sources/reactphysics3d/constraint/VertexVertexContact.h deleted file mode 100644 index 2ee545ba..00000000 --- a/sources/reactphysics3d/constraint/VertexVertexContact.h +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -* Copyright (C) 2009 Daniel Chappuis * -**************************************************************************** -* This file is part of ReactPhysics3D. * -* * -* ReactPhysics3D is free software: you can redistribute it and/or modify * -* it under the terms of the GNU Lesser General Public License as published * -* by the Free Software Foundation, either version 3 of the License, or * -* (at your option) any later version. * -* * -* ReactPhysics3D is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU Lesser General Public License for more details. * -* * -* You should have received a copy of the GNU Lesser General Public License * -* along with ReactPhysics3D. If not, see . * -***************************************************************************/ - -#ifndef VERTEXVERTEXCONTACT_H -#define VERTEXVERTEXCONTACT_H - -// Libraries -#include "Contact.h" -#include "../mathematics/mathematics.h" - -// ReactPhysics3D namespace -namespace reactphysics3d { - -/* ------------------------------------------------------------------- - Class VertexVertexContact : - This class represents a vertex-vertex collision contact between two - bodies in the physics engine. - ------------------------------------------------------------------- -*/ -class VertexVertexContact : public Contact { - private : - Vector3D contactVertex; // Contact vertex - - public : - VertexVertexContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Vector3D& contactVertex); // Constructor - virtual ~VertexVertexContact(); // Destructor - - Vector3D getContactVertex() const; // Return the contact vertex - -}; - -// Return the contact vertex -inline Vector3D VertexVertexContact::getContactVertex() const { - return contactVertex; -} - - -} // End of the ReactPhysics3D namespace -#endif