PlayRho  2.0.0
An interactive physics engine & library.
playrho::d2::PointStates Struct Reference

Point states. More...

#include <playrho/d2/PointStates.hpp>

Public Attributes

PointState state1 [MaxManifoldPoints] = {PointState::Null, PointState::Null}
 State 1. More...
 
PointState state2 [MaxManifoldPoints] = {PointState::Null, PointState::Null}
 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.

See also
Manifold, GetPointStates.

Member Data Documentation

◆ state1

PointState playrho::d2::PointStates::state1[MaxManifoldPoints] = {PointState::Null, PointState::Null}

State 1.

States for the first manifold.

◆ state2

PointState playrho::d2::PointStates::state2[MaxManifoldPoints] = {PointState::Null, PointState::Null}

State 2.

States after the second manifold.


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