corrected some warnings relative to unreferenced variables
This commit is contained in:
parent
8f72b462eb
commit
e57b89945f
|
@ -750,6 +750,7 @@ static void BuildBiasedSeedVec(MeshType &m,
|
||||||
std::vector<VertDist> &biasedFrontierVec,
|
std::vector<VertDist> &biasedFrontierVec,
|
||||||
VoronoiProcessingParameter &vpp)
|
VoronoiProcessingParameter &vpp)
|
||||||
{
|
{
|
||||||
|
(void)df;
|
||||||
biasedFrontierVec.clear();
|
biasedFrontierVec.clear();
|
||||||
if(vpp.unbiasedSeedFlag)
|
if(vpp.unbiasedSeedFlag)
|
||||||
{
|
{
|
||||||
|
@ -889,10 +890,15 @@ struct QuadricSumDistance
|
||||||
///
|
///
|
||||||
/// It return true if at least one seed changed position.
|
/// It return true if at least one seed changed position.
|
||||||
///
|
///
|
||||||
static bool QuadricRelax(MeshType &m, std::vector<VertexType *> &seedVec, std::vector<VertexPointer> &frontierVec,
|
static bool QuadricRelax(MeshType &m, std::vector<VertexType *> &seedVec,
|
||||||
|
std::vector<VertexPointer> &frontierVec,
|
||||||
std::vector<VertexType *> &newSeeds,
|
std::vector<VertexType *> &newSeeds,
|
||||||
DistanceFunctor &df, VoronoiProcessingParameter &vpp)
|
DistanceFunctor &df,
|
||||||
|
VoronoiProcessingParameter &vpp)
|
||||||
{
|
{
|
||||||
|
(void)seedVec;
|
||||||
|
(void)frontierVec;
|
||||||
|
(void)df;
|
||||||
newSeeds.clear();
|
newSeeds.clear();
|
||||||
PerVertexPointerHandle sources = tri::Allocator<MeshType>:: template GetPerVertexAttribute<VertexPointer> (m,"sources");
|
PerVertexPointerHandle sources = tri::Allocator<MeshType>:: template GetPerVertexAttribute<VertexPointer> (m,"sources");
|
||||||
PerVertexBoolHandle fixed = tri::Allocator<MeshType>:: template GetPerVertexAttribute<bool> (m,"fixed");
|
PerVertexBoolHandle fixed = tri::Allocator<MeshType>:: template GetPerVertexAttribute<bool> (m,"fixed");
|
||||||
|
|
Loading…
Reference in New Issue