Warning in subdivider fixed
This commit is contained in:
@@ -181,7 +181,7 @@ compute_new_positions_C1()
|
|||||||
if (diag) uu *= static_cast<typename Mesh::Scalar>(1.0) / diag;
|
if (diag) uu *= static_cast<typename Mesh::Scalar>(1.0) / diag;
|
||||||
|
|
||||||
// damping
|
// damping
|
||||||
uu *= 0.25;
|
uu *= static_cast<typename Mesh::Normal::value_type>(0.25);
|
||||||
|
|
||||||
// store new position
|
// store new position
|
||||||
p = vector_cast<typename Mesh::Normal>(Base::mesh_.point(*v_it));
|
p = vector_cast<typename Mesh::Normal>(Base::mesh_.point(*v_it));
|
||||||
|
|||||||
Reference in New Issue
Block a user