Skip to content

Commit 2ac740f

Browse files
committed
complete hw8
1 parent 358257e commit 2ac740f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Assignment8/codes/src/application.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ void Application::init() {
2323

2424
glColor3f(1.0, 1.0, 1.0);
2525
// Create two ropes
26-
ropeEuler = new Rope(Vector2D(0, 200), Vector2D(-400, 200), 32, config.mass,
27-
config.ks, {0});
28-
ropeVerlet = new Rope(Vector2D(0, 200), Vector2D(-400, 200), 32, config.mass,
29-
config.ks, {0});
26+
ropeEuler = new Rope(Vector2D(0, 200), Vector2D(-400, 200), 8, config.mass,
27+
config.ks, {0, 1, 2, 3, 4});
28+
ropeVerlet = new Rope(Vector2D(0, 200), Vector2D(-400, 200), 10, config.mass,
29+
config.ks, {0, 1, 2, 3});
3030
}
3131

3232
void Application::render() {

0 commit comments

Comments
 (0)