added a missing const...
This commit is contained in:
parent
0a80e1e8ca
commit
e0055f8b5c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue