#include <OPC_RayCollider.h>
Public Member Functions | |
| inline_ | CollisionFace () |
| Constructor. More... | |
| inline_ | ~CollisionFace () |
| Destructor. More... | |
Public Attributes | |
| float | mDistance |
| Distance from collider to hitpoint. More... | |
| udword | mFaceID |
| Index of touched face. More... | |
| float | mU |
| float | mV |
| Impact barycentric coordinates. More... | |
This class describes a face hit by a ray or segment. This is a particular class dedicated to stabbing queries.
Definition at line 23 of file OPC_RayCollider.h.
|
inline |
Constructor.
Definition at line 27 of file OPC_RayCollider.h.
|
inline |
Destructor.
Definition at line 29 of file OPC_RayCollider.h.
| float CollisionFace::mDistance |
Distance from collider to hitpoint.
Definition at line 32 of file OPC_RayCollider.h.
| udword CollisionFace::mFaceID |
Index of touched face.
Definition at line 31 of file OPC_RayCollider.h.
| float CollisionFace::mU |
Definition at line 33 of file OPC_RayCollider.h.
| float CollisionFace::mV |
Impact barycentric coordinates.
Definition at line 33 of file OPC_RayCollider.h.