diff --git a/main_bounce.cpp b/main_bounce.cpp index 28654ea..be7d707 100644 --- a/main_bounce.cpp +++ b/main_bounce.cpp @@ -38,7 +38,7 @@ int main(int argc, char** argv) { ball.get_surface()->set_color(Color(1., 0., 0.)); Cuboid bbox = ball.get_surface()->max_bounding_box(); - Cuboid bbox_2(Point(-20, -2, -20), Point(20,2,20)); + Cuboid bbox_2(Point(-20, -3, -20), Point(20,3,20)); printf("%.2lf %.2lf %.2lf | %.2lf %.2lf %.2lf\n", bbox.low(0), bbox.low(1), bbox.low(2), bbox.high(0), bbox.high(1), bbox.high(2)); @@ -46,7 +46,7 @@ int main(int argc, char** argv) { if(perlin) { perlin_ground.get_surface()->set_color(Color(0.13, 0.82, 0.21)); - render.add_surface(perlin_ground.get_surface(), bbox_2, 1); + render.add_surface(perlin_ground.get_surface(), bbox_2, 1.2); } else { ground_mesh.get_mesh()->set_color(Color(0.13, 0.82, 0.21));