Antkeeper
0.0.1
|
Collection of contact points between two colliding bodies. More...
#include <collision-manifold.hpp>
Public Attributes | |
rigid_body * | body_a {} |
First colliding body. More... | |
rigid_body * | body_b {} |
Second colliding body. More... | |
std::array< collision_contact, N > | contacts |
Set of contact points between body a and body b. More... | |
std::uint8_t | contact_count {} |
Number of contact points between body a and body b. More... | |
Collection of contact points between two colliding bodies.
N | Maximum number of contact points. |
Definition at line 36 of file collision-manifold.hpp.
rigid_body* physics::collision_manifold< N >::body_a {} |
First colliding body.
Definition at line 39 of file collision-manifold.hpp.
rigid_body* physics::collision_manifold< N >::body_b {} |
Second colliding body.
Definition at line 42 of file collision-manifold.hpp.
std::uint8_t physics::collision_manifold< N >::contact_count {} |
Number of contact points between body a and body b.
Definition at line 48 of file collision-manifold.hpp.
std::array<collision_contact, N> physics::collision_manifold< N >::contacts |
Set of contact points between body a and body b.
Definition at line 45 of file collision-manifold.hpp.