playrho::d2::PositionSolverManifold Struct Reference

#include <PositionSolverManifold.hpp>

Public Attributes

UnitVec m_normal
 
Length2 m_point
 
Length m_separation
 

Detailed Description

Position solver manifold.

This is a normal-point-separation composition of data for position constraint resolution.

Note
This data structure is 20-bytes large.

Definition at line 35 of file PositionSolverManifold.hpp.

Member Data Documentation

◆ m_normal

UnitVec playrho::d2::PositionSolverManifold::m_normal

Normal.

Normal of the contact between two points. This is the axis upon which impulses should be applied to resolve the negative separations of overlapping shapes.

Note
This field is 8-bytes large.

Definition at line 41 of file PositionSolverManifold.hpp.

◆ m_point

Length2 playrho::d2::PositionSolverManifold::m_point

Point.

Point at which position resolution should be relatively applied.

Note
This field is 8-bytes large.

Definition at line 46 of file PositionSolverManifold.hpp.

◆ m_separation

Length playrho::d2::PositionSolverManifold::m_separation

Separation.

Separation between two points (i.e. penetration if negative).

Note
This field is 4-bytes large.

Definition at line 51 of file PositionSolverManifold.hpp.


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