Nearest point query info struct. More...
#include <cpShape.h>
Public Attributes | |
| cpShape * | shape |
| The nearest shape, NULL if no shape was within range. | |
| cpVect | p |
| The closest point on the shape's surface. (in world space coordinates) | |
| cpFloat | d |
| The distance to the point. The distance is negative if the point is inside the shape. | |
Nearest point query info struct.
1.8.3.1