Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef B2_CHAIN_AND_POLYGON_CONTACT_H
00020 #define B2_CHAIN_AND_POLYGON_CONTACT_H
00021
00022 #include <Box2D/Dynamics/Contacts/b2Contact.h>
00023
00024 class b2BlockAllocator;
00025
00026 class b2ChainAndPolygonContact : public b2Contact
00027 {
00028 public:
00029 static b2Contact* Create( b2Fixture* fixtureA, int32 indexA,
00030 b2Fixture* fixtureB, int32 indexB, b2BlockAllocator* allocator);
00031 static void Destroy(b2Contact* contact, b2BlockAllocator* allocator);
00032
00033 b2ChainAndPolygonContact(b2Fixture* fixtureA, int32 indexA, b2Fixture* fixtureB, int32 indexB);
00034 ~b2ChainAndPolygonContact() {}
00035
00036 void Evaluate(b2Manifold* manifold, const b2Transform& xfA, const b2Transform& xfB);
00037 };
00038
00039 #endif