added a missing const...

This commit is contained in:
Paolo Cignoni 2011-11-15 11:15:24 +00:00
parent 0a80e1e8ca
commit e0055f8b5c
1 changed files with 2 additions and 2 deletions

View File

@ -230,11 +230,11 @@ static void FaceArea(MeshType &m)
(*fi).Q()=vcg::DoubleArea(*fi)/2;
}
static void VertexFromPlane(MeshType &m, Plane3<ScalarType> &pl)
static void VertexFromPlane(MeshType &m, const Plane3<ScalarType> &pl)
{
VertexIterator vi;
for(vi=m.vert.begin();vi!=m.vert.end();++vi) if(!(*vi).IsD())
(*vi).Q() =Distance(pl,(*vi).cP());
(*vi).Q() =DistancePlanePoint(pl,(*vi).cP());
}
static void VertexFromGaussianCurvature(MeshType &m)