Merge pull request #3130 from afabri/CGAL-M_PI-GF

Replace M_PI with CGAL_PI
This commit is contained in:
Laurent Rineau 2018-06-01 17:26:09 +02:00
commit b814620557
1 changed files with 2 additions and 2 deletions

View File

@ -680,9 +680,9 @@ void Polyhedron_demo_affine_transform_plugin::applySingleTransformation()
ui.lineEditZ->text().toDouble()); ui.lineEditZ->text().toDouble());
if(!is_point_set) if(!is_point_set)
transform_item->manipulatedFrame()->rotate(CGAL::qglviewer::Quaternion(axis, ui.lineEditA->text().toDouble()*M_PI/180.0)); transform_item->manipulatedFrame()->rotate(CGAL::qglviewer::Quaternion(axis, ui.lineEditA->text().toDouble()*CGAL_PI/180.0));
else else
transform_points_item->manipulatedFrame()->rotate(CGAL::qglviewer::Quaternion(axis, ui.lineEditA->text().toDouble()*M_PI/180.0)); transform_points_item->manipulatedFrame()->rotate(CGAL::qglviewer::Quaternion(axis, ui.lineEditA->text().toDouble()*CGAL_PI/180.0));
break; break;
} }
//translation //translation