21 #ifndef PLAYRHO_DYNAMICS_CONTACTIMPULSESLIST_HPP
22 #define PLAYRHO_DYNAMICS_CONTACTIMPULSESLIST_HPP
30 class VelocityConstraint;
57 normalImpulses[count] = normal;
58 tangentImpulses[count] = tangent;
72 auto maxImpulse = 0_Ns;
73 const auto count = impulses.GetCount();
74 for (
auto i = decltype(count){0}; i < count; ++i)
76 maxImpulse = std::max(maxImpulse, impulses.GetEntryNormal(i));
87 #endif // PLAYRHO_DYNAMICS_CONTACTIMPULSESLIST_HPP