Fixed some warnings
This commit is contained in:
@@ -309,7 +309,7 @@ CatmullClarkT<MeshType,RealType>::compute_midpoint( MeshType& _m, const EdgeHand
|
||||
// this yields the [1/2 1/2] mask
|
||||
if (_m.is_boundary(_eh) || !_update_points)
|
||||
{
|
||||
pos *= 0.5;
|
||||
pos *= static_cast<RealType>(0.5);
|
||||
}
|
||||
// else if (_m.status(_eh).selected() )
|
||||
// {
|
||||
@@ -321,7 +321,7 @@ CatmullClarkT<MeshType,RealType>::compute_midpoint( MeshType& _m, const EdgeHand
|
||||
{
|
||||
pos += _m.property(fp_pos_, _m.face_handle(heh));
|
||||
pos += _m.property(fp_pos_, _m.face_handle(opp_heh));
|
||||
pos *= 0.25;
|
||||
pos *= static_cast<RealType>(0.25);
|
||||
}
|
||||
_m.property( ep_pos_, _eh ) = pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user