diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-10-28 19:22:04 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-10-28 19:22:04 (GMT) |
commit | f54797cfbda8b7e667fd5294bbca3b885d1b18de (patch) | |
tree | ce7520fdb0d7151f2646a49a1cac58dc292f12ce /src/svg.cc | |
parent | 45e5cdea69183374166484baa8cef47c40bfb722 (diff) |
fixes for test suite and gcc
Diffstat (limited to 'src/svg.cc')
-rw-r--r-- | src/svg.cc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -7,6 +7,9 @@ namespace OpenSCAD { // SVG code // currently for debugging, not necessarily pretty or useful for users. (yet) +int svg_cursor_py = 0; +int svg_px_width = SVG_PXW; +int svg_px_height = SVG_PXH; std::string svg_header( int widthpx, int heightpx ) { @@ -70,8 +73,6 @@ CGAL_Point_2e project_svg_3to2( CGAL_Point_3 p, CGAL_Iso_cuboid_3 bbox ) CGAL_Point_2e project_svg_2to2( CGAL_Point_2e p, CGAL_Iso_rectangle_2e bbox ) { - double x = CGAL::to_double( p.x() ); - double y = CGAL::to_double( p.y() ); double screenw = svg_px_width; double screenh = svg_px_height; double borderw = screenw * 0.1618; @@ -172,10 +173,10 @@ public: { bbox = bounding_box( N ); } - void visit(CGAL_Nef_polyhedron3::Vertex_const_handle v) {} + void visit(CGAL_Nef_polyhedron3::Vertex_const_handle ) {} void visit(CGAL_Nef_polyhedron3::Halfedge_const_handle ) {} void visit(CGAL_Nef_polyhedron3::SHalfedge_const_handle ) {} - void visit(CGAL_Nef_polyhedron3::SHalfloop_const_handle shh ){} + void visit(CGAL_Nef_polyhedron3::SHalfloop_const_handle ) {} void visit(CGAL_Nef_polyhedron3::SFace_const_handle ) {} void visit( CGAL_Nef_polyhedron3::Halffacet_const_handle hfacet ) { |