mirror of https://github.com/CGAL/cgal
fix copmilation issue in the demo and remove a initialization order warning
This commit is contained in:
parent
2ff9c0d210
commit
c8deb29d63
|
|
@ -529,7 +529,7 @@ void Polyhedron_demo_edit_polyhedron_plugin::usage_scenario_1(Scene_edit_polyhed
|
|||
scalar * data_vec.z()), scalar * 3.14);
|
||||
|
||||
qglviewer::Vec disp(scalar * data_vec.x(), scalar * data_vec.y(), scalar * data_vec.z());
|
||||
(*deform)(data.active_handle_group, poi, quat, disp);// 0 for the match
|
||||
deform->rotate(data.active_handle_group, poi, quat, disp);// 0 for the match
|
||||
|
||||
deform->deform();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ public:
|
|||
unsigned int iterations = 5,
|
||||
double tolerance = 1e-4)
|
||||
: polyhedron(polyhedron), vertex_index_map(vertex_index_map), edge_index_map(edge_index_map),
|
||||
weight_calculator(polyhedron), need_preprocess(true), iterations(iterations), tolerance(tolerance)
|
||||
iterations(iterations), tolerance(tolerance), need_preprocess(true), weight_calculator(polyhedron)
|
||||
{
|
||||
CGAL_precondition(polyhedron.is_pure_triangle());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue