public void ShouldGenerateMeshesCorrectly() { AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Cup")); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Cup2")); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Gottlieb"), threshold: 0.00015f); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Hole")); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("HoleSimple")); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Williams"), threshold: 0.001f); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Scaled")); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Rotated"), threshold: 0.00015f); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Surface")); AssertObjMesh(_tc.Table, _obj, _tc.Kicker("Data"), threshold: 0.00015f); }
public SurfacePhysicsTests() { _tc = FileTableContainer.Load(VpxPath.Flipper); _kicker = _tc.Kicker("BallRelease"); }