ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_COLLISION_H__ 00002 #define __B2_COLLISION_H__ 00003 00005 void b2CollideCircles(b2Manifold* manifold, const b2CircleShape* circle1, const b2Transform *xf1, const b2CircleShape* circle2, const b2Transform *xf2); 00006 00008 void b2CollidePolygonAndCircle(b2Manifold* manifold, const b2PolygonShape* polygon, const b2Transform *xf1, const b2CircleShape* circle, const b2Transform *xf2); 00009 00011 void b2CollidePolygons(b2Manifold* manifold, const b2PolygonShape* polygon1, const b2Transform *xf1, const b2PolygonShape* polygon2, const b2Transform *xf2); 00012 00014 var b2ClipSegmentToLine(b2ClipVertex **vOut, const b2ClipVertex **vIn, const VECTOR *normal, var offset); 00015 00020 void b2GetPointStates(var *state1, var *state2, const b2Manifold* manifold1, const b2Manifold* manifold2); 00021 00023 var b2Testb2ShapeOverlap(const b2Shape* shapeA, const b2Shape* shapeB, const b2Transform *xfA, const b2Transform *xfB); 00024 00026 var b2Testb2AABBOverlap(const b2AABB *a, const b2AABB *b); 00027 00028 #endif //__B2_COLLISION_H__