Exemple #1
0
    void BuildTestScene(ref List <RigidBody_c> rigidBodies, int i)
    {
        switch (i)
        {
        case 0:
        {
            //FunTestCases_c.BuildSeeSaw(ref rigidBodies);
            //FunTestCases_c.BuildDominos(ref rigidBodies);
            //FunTestCases_c.BuildBowling(ref rigidBodies);
            FunTestCases_c.BuildMarbles(ref rigidBodies);
        }
        break;

        default:
        {
        }
        break;
        }
    }
Exemple #2
0
 private void buttonDominos_Click(object sender, EventArgs e)
 {
     ArbiterContainer_c.Clear();
     FunTestCases_c.BuildDominos(ref m_rigidBodies);
 }
Exemple #3
0
 private void buttonSeaSaw_Click(object sender, EventArgs e)
 {
     ArbiterContainer_c.Clear();
     FunTestCases_c.BuildSeeSaw(ref m_rigidBodies);
 }