git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@221 92aac97c-a6ce-11dd-a772-7fcde58d38e6
This commit is contained in:
parent
19efd40258
commit
f6e7977c4e
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user