Chipmunk2D Pro API Reference  7.0.3
 All Classes Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Attributes | List of all members
cpSegmentQueryInfo Struct Reference

Segment query info struct. More...

#include <cpShape.h>

Public Attributes

const cpShapeshape
 The shape that was hit, or NULL if no collision occured.
cpVect point
 The point of impact.
cpVect normal
 The normal of the surface hit.
cpFloat alpha
 The normalized distance along the query segment in the range [0, 1].

Detailed Description

Segment query info struct.

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