git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@221 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2009-11-29 10:58:13 +00:00
parent 19efd40258
commit f6e7977c4e
3 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ namespace reactphysics3d {
*/
class Contact : public Constraint {
private :
Vector3D normalVector; // Normal vector of the contact
Time time; // Time of contact
Vector3D normal; // Normal vector of the contact
std::vector<const Vector3D* const> points;
public :
Contact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time); // Constructor

View File

@ -24,7 +24,7 @@
using namespace reactphysics3d;
// Constructor
FaceEdgeContact::FaceEdgeContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, Segment3D& contactSegment)
FaceEdgeContact::FaceEdgeContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, const Segment3D& contactSegment)
:Contact(body1, body2, normalVector, time), contactSegment(contactSegment) {
}

View File

@ -38,7 +38,7 @@ class FaceEdgeContact : public Contact {
Segment3D contactSegment;
public :
FaceEdgeContact(Body* const body1, Body* const body2, const Vector3D& normalVector, const Time& time, Segment3D& contactSegment); // Constructor
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