Segment query info struct. More...
#include <cpShape.h>
Public Attributes | |
cpShape * | shape |
The shape that was hit, NULL if no collision occured. | |
cpFloat | t |
The normalized distance along the query segment in the range [0, 1]. | |
cpVect | n |
The normal of the surface hit. | |
Segment query info struct.