Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

GlobalContactInfo.h

Go to the documentation of this file.
00001 // GlobalContactInfo.h: interface for the GlobalContactInfo class.
00002 //
00004 
00005 #ifndef GLOBALCONTACTINFO_H
00006 #define GLOBALCONTACTINFO_H
00007 
00008 #include "ContactInfo.h"
00009 #include "Vector2.h"
00010 
00011 class GlobalContactInfo  {
00012 public:
00013    GlobalContactInfo(ContactInfo* contact1, ContactInfo* contact2, real penetration=0.0){ 
00014       this->contact1=contact1; 
00015       this->contact2=contact2; 
00016       this->penetration=penetration; 
00017       force=(real)0.0; 
00018       alpha=0; 
00019    }
00020 
00024    ContactInfo* contact1;
00025    ContactInfo* contact2;
00027    real force;
00029    real penetration;
00031    int alpha;
00032 };
00033 
00034 typedef std::vector<GlobalContactInfo> GlobalContactInfoVector;
00035 
00036 #endif //GLOBALCONTACTINFO_H

Thyrix homepageUsers' guide

(C) Arxia 2004-2005