35    b2_pbdStretchingModel,
 
   36    b2_xpbdStretchingModel
 
   41    b2_springAngleBendingModel = 0,
 
   42    b2_pbdAngleBendingModel,
 
   43    b2_xpbdAngleBendingModel,
 
   44    b2_pbdDistanceBendingModel,
 
   45    b2_pbdHeightBendingModel,
 
   46    b2_pbdTriangleBendingModel
 
   54        stretchingModel = b2_pbdStretchingModel;
 
   55        bendingModel = b2_pbdAngleBendingModel;
 
   57        stretchStiffness = 1.0f;
 
   62        fixedEffectiveMass = 
false;
 
   66    b2StretchingModel stretchingModel;
 
   67    b2BendingModel bendingModel;
 
   69    float stretchStiffness;
 
   76    bool fixedEffectiveMass;
 
 
  114    void Step(
float timeStep, int32 iterations, 
const b2Vec2& position);
 
  117    void Reset(
const b2Vec2& position);
 
  120    void Draw(
b2Draw* draw) 
const;
 
  124    void SolveStretch_PBD();
 
  125    void SolveStretch_XPBD(
float dt);
 
  126    void SolveBend_PBD_Angle();
 
  127    void SolveBend_XPBD_Angle(
float dt);
 
  128    void SolveBend_PBD_Distance();
 
  129    void SolveBend_PBD_Height();
 
  130    void SolveBend_PBD_Triangle();
 
  131    void ApplyBendForces(
float dt);
 
  136    int32 m_stretchCount;
 
  139    b2RopeStretch* m_stretchConstraints;
 
  140    b2RopeBend* m_bendConstraints;
 
 
A 2D column vector.
Definition b2_math.h:42