git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@185 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2009-07-31 16:13:41 +00:00
parent 0cf368e23c
commit d7e3f0a066

View File

@ -30,13 +30,13 @@ using namespace reactphysics3d;
Context::Context() {
// We add some objects in the context at the beginning ---> THESE THINGS WILL BE STORE IN A TEXT FILE
Cube* cube1 = new Cube(Vector3D(-2.0, 10, -6.0), 3.0, Kilogram(30.0));
//Cube* cube2 = new Cube(Vector3D(-3.0, 13, 1.0), 3.0, Kilogram(2.0));
//Cube* cube3 = new Cube(Vector3D(4.0, 10, -2.0), 2.0, Kilogram(11.0));
Cube* cube1 = new Cube(Vector3D(-6.0, 15, -6.0), 3.0, Kilogram(30.0));
Cube* cube2 = new Cube(Vector3D(-6.0, 13, 1.0), 3.0, Kilogram(2.0));
//Cube* cube3 = new Cube(Vector3D(4.0, 17, -2.0), 2.0, Kilogram(11.0));
Plane* plane1 = new Plane(Vector3D(0.0, 0.0, 0.0), 20.0, 30.0, Vector3D(-1.0, 0.0, 0.0), Vector3D(0.0, 0.0, 1.0), Kilogram(10.0));
addObject(cube1);
//addObject(cube2);
addObject(cube2);
//addObject(cube3);
addObject(plane1);
}