Public Member Functions | Public Attributes

CL_CollidingContours Struct Reference
[clanDisplay Collision]

Strurcture containing information about contours that collided. More...

#include <collision_outline.h>

List of all members.

Public Member Functions

 CL_CollidingContours (const CL_Contour *c1, const CL_Contour *c2, bool in=false)
 Constructs a CollidingContours.

Public Attributes

const CL_Contourcontour1
CL_Pointf contour1_deep_point
const CL_Contourcontour2
CL_Pointf contour2_deep_point
bool inside
float penetration_depth
CL_Pointf penetration_normal
std::vector< CL_CollisionPointpoints

Detailed Description

Strurcture containing information about contours that collided.

Structure used for returning information about collisions

Constructor & Destructor Documentation

CL_CollidingContours::CL_CollidingContours ( const CL_Contour c1,
const CL_Contour c2,
bool  in = false 
) [inline]

Constructs a CollidingContours.

c1 = Contour
c2 = Contour
in = bool

References points.

Member Data Documentation

Referenced by CL_CollidingContours().

The documentation for this struct was generated from the following file: