20 #ifndef PLAYRHO_COLLISION_WORLDMANIFOLD_HPP
21 #define PLAYRHO_COLLISION_WORLDMANIFOLD_HPP
42 UnitVec m_normal = GetInvalid<UnitVec>();
88 m_points{ps0.location, GetInvalid<Length2>()},
90 m_separations{ps0.separation, GetInvalid<Length>()}
99 m_points{ps0.location, ps1.location},
100 m_impulses{ps0.impulse, ps1.impulse},
101 m_separations{ps0.separation, ps1.separation}
116 return (
IsValid(m_separations[0])? 1: 0) + (
IsValid(m_separations[1])? 1: 0);
137 return m_points[index];
153 return m_separations[index];
161 return m_impulses[index];
184 Transformation xfA,
Length radiusA,
185 Transformation xfB,
Length radiusB);
207 #endif // PLAYRHO_COLLISION_WORLDMANIFOLD_HPP