Strurcture containing information about contours that collided. More...
#include <collision_outline.h>
Public Member Functions | |
| CL_CollidingContours (const CL_Contour *c1, const CL_Contour *c2, bool in=false) | |
| Constructs a CollidingContours. | |
Public Attributes | |
| const CL_Contour * | contour1 |
| CL_Pointf | contour1_deep_point |
| const CL_Contour * | contour2 |
| CL_Pointf | contour2_deep_point |
| bool | inside |
| float | penetration_depth |
| CL_Pointf | penetration_normal |
| std::vector< CL_CollisionPoint > | points |
Strurcture containing information about contours that collided.
Structure used for returning information about collisions
| CL_CollidingContours::CL_CollidingContours | ( | const CL_Contour * | c1, | |
| const CL_Contour * | c2, | |||
| bool | in = false | |||
| ) | [inline] |
| std::vector<CL_CollisionPoint> CL_CollidingContours::points |
Referenced by CL_CollidingContours().
1.7.1