corrected some warnings relative to unreferenced variables

This commit is contained in:
Nico Pietroni 2014-05-04 23:32:33 +00:00
parent 8f72b462eb
commit e57b89945f
1 changed files with 9 additions and 3 deletions

View File

@ -750,6 +750,7 @@ static void BuildBiasedSeedVec(MeshType &m,
std::vector<VertDist> &biasedFrontierVec,
VoronoiProcessingParameter &vpp)
{
(void)df;
biasedFrontierVec.clear();
if(vpp.unbiasedSeedFlag)
{
@ -889,10 +890,15 @@ struct QuadricSumDistance
///
/// It return true if at least one seed changed position.
///
static bool QuadricRelax(MeshType &m, std::vector<VertexType *> &seedVec, std::vector<VertexPointer> &frontierVec,
std::vector<VertexType *> &newSeeds,
DistanceFunctor &df, VoronoiProcessingParameter &vpp)
static bool QuadricRelax(MeshType &m, std::vector<VertexType *> &seedVec,
std::vector<VertexPointer> &frontierVec,
std::vector<VertexType *> &newSeeds,
DistanceFunctor &df,
VoronoiProcessingParameter &vpp)
{
(void)seedVec;
(void)frontierVec;
(void)df;
newSeeds.clear();
PerVertexPointerHandle sources = tri::Allocator<MeshType>:: template GetPerVertexAttribute<VertexPointer> (m,"sources");
PerVertexBoolHandle fixed = tri::Allocator<MeshType>:: template GetPerVertexAttribute<bool> (m,"fixed");