fix a lot of issues, add gyroscopic force integrator, add contact polygon winding, add some quaternion constraints, add more tests

This commit is contained in:
Irlan
2017-03-24 18:49:41 -03:00
parent dd6ca355e9
commit 8defab9945
103 changed files with 3840 additions and 3355 deletions

View File

@ -35,7 +35,7 @@ public:
sd.shape = &hs;
ground->CreateShape(sd);
}
b3Body* head;
b3Body* hip;
b3Body* lArm;
@ -106,10 +106,10 @@ public:
b3ShapeDef sd;
sd.shape = &cs;
sd.density = 0.25f;
lArm->CreateShape(sd);
}
// Link left arm to chest
{
b3ConeJointDef cd;
@ -139,7 +139,7 @@ public:
rArm->CreateShape(sd);
}
// Link right arm to chest
{
b3ConeJointDef cd;
@ -209,7 +209,7 @@ public:
b3ConeJoint* cj = (b3ConeJoint*)m_world.CreateJoint(cd);
}
}
void KeyDown(int button)
{
}
@ -220,4 +220,4 @@ public:
}
};
#endif
#endif