ClanLib  2.3.7
Public Attributes | List of all members
CL_CollisionPoint Struct Reference

Collision point information structure. More...

#include <collision_outline.h>

Public Attributes

int contour1_line_end
 
int contour1_line_start
 Indexes of intersecting lines on the contours. More...
 
int contour2_line_end
 
int contour2_line_start
 
bool is_entry
 Every contour intersection has an entry and exit point. True, if this is an entry point. More...
 
CL_Pointf normal
 Normal vector at the point where the contours intersected. More...
 
CL_Pointf point
 Coordinates of the point where the contours intersected. More...
 

Detailed Description

Collision point information structure.

Structure used for returning information about collisions

Member Data Documentation

int CL_CollisionPoint::contour1_line_end
int CL_CollisionPoint::contour1_line_start

Indexes of intersecting lines on the contours.

int CL_CollisionPoint::contour2_line_end
int CL_CollisionPoint::contour2_line_start
bool CL_CollisionPoint::is_entry

Every contour intersection has an entry and exit point. True, if this is an entry point.

CL_Pointf CL_CollisionPoint::normal

Normal vector at the point where the contours intersected.

CL_Pointf CL_CollisionPoint::point

Coordinates of the point where the contours intersected.


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