playrho::PointStates Struct Reference

Point states. More...

#include <Collision.hpp>

Public Attributes

PointState state1 [MaxManifoldPoints] = {PointState::NullState, PointState::NullState}
 State 1. More...
 
PointState state2 [MaxManifoldPoints] = {PointState::NullState, PointState::NullState}
 State 2. More...
 

Detailed Description

Point states.

The states pertain to the transition from an old manifold to a new manifold. So state 1 is either persist or remove while state 2 is either add or persist.

Definition at line 49 of file Collision.hpp.

Member Data Documentation

◆ state1

State 1.

Definition at line 52 of file Collision.hpp.

◆ state2

State 2.

Definition at line 55 of file Collision.hpp.


The documentation for this struct was generated from the following file: