diff --git a/Polyhedron/demo/Polyhedron/Scene_polylines_item.cpp b/Polyhedron/demo/Polyhedron/Scene_polylines_item.cpp index 72342372d76..b3f3e92a3fd 100644 --- a/Polyhedron/demo/Polyhedron/Scene_polylines_item.cpp +++ b/Polyhedron/demo/Polyhedron/Scene_polylines_item.cpp @@ -28,7 +28,7 @@ public: void Scene_polylines_item::create_Sphere(double R) { - create_flat_and_wire_sphere(R, positions_spheres, normals_spheres, positions_wire_spheres, true); + create_flat_and_wire_sphere(R, positions_spheres, normals_spheres, positions_wire_spheres); } void diff --git a/Polyhedron/demo/Polyhedron/create_sphere.h b/Polyhedron/demo/Polyhedron/create_sphere.h index 19b06eff180..714ceccb0a2 100644 --- a/Polyhedron/demo/Polyhedron/create_sphere.h +++ b/Polyhedron/demo/Polyhedron/create_sphere.h @@ -189,7 +189,7 @@ void create_flat_and_wire_sphere(double R, const int rings=18; const int sectors=38; - create_flat_sphere(R, positions_spheres, normals_spheres, four_pos); + create_flat_sphere(R, positions_spheres, normals_spheres); float T, P; float x[4],y[4],z[4];