Antkeeper
0.0.1
|
Point of contact between two colliding bodies. More...
#include <collision-contact.hpp>
Public Attributes | |
math::fvec3 | point {} |
World-space contact point. More... | |
math::fvec3 | normal {} |
Contact normal, pointing from body a to body b. More... | |
float | depth {} |
Contact penetration depth. More... | |
Point of contact between two colliding bodies.
Definition at line 30 of file collision-contact.hpp.
float physics::collision_contact::depth {} |
Contact penetration depth.
Definition at line 39 of file collision-contact.hpp.
math::fvec3 physics::collision_contact::normal {} |
Contact normal, pointing from body a to body b.
Definition at line 36 of file collision-contact.hpp.
math::fvec3 physics::collision_contact::point {} |
World-space contact point.
Definition at line 33 of file collision-contact.hpp.