| 33 | // K = invI1 + invI2 |
| 34 | |
| 35 | void b2FrictionJointDef::Initialize(b2Body* bA, b2Body* bB, const b2Vec2& anchor) |
| 36 | { |
| 37 | bodyA = bA; |
| 38 | bodyB = bB; |
| 39 | localAnchorA = bodyA->GetLocalPoint(anchor); |
| 40 | localAnchorB = bodyB->GetLocalPoint(anchor); |
| 41 | } |
| 42 | |
| 43 | b2FrictionJoint::b2FrictionJoint(const b2FrictionJointDef* def) |
| 44 | : b2Joint(def) |
nothing calls this directly
no test coverage detected