![]() |
Quark Physics
1.0
2D Rigid and Soft Body Physics Engine
|
#include <qraycast.h>

Public Member Functions | |
| Contact (QBody *body, QVector position, QVector normal, float distance) | |
Public Attributes | |
| QBody * | body |
| QVector | position |
| QVector | normal |
| float | distance |
A contact struct for raycast collision results. It has some information about the ray collision.
| QBody* QRaycast::Contact::body |
The contact body of the ray collision.
| float QRaycast::Contact::distance |
The distance between the ray position and the contact body.
| QVector QRaycast::Contact::normal |
The contact normal of the ray collision.
| QVector QRaycast::Contact::position |
The contact position of the ray collision.