Skip to content

Commit

Permalink
remove helper comments
Browse files Browse the repository at this point in the history
Signed-off-by: Perminder <[email protected]>
  • Loading branch information
perminder-17 committed Nov 6, 2024
1 parent febd8e7 commit 46ca336
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions avogadro/qtgui/meshgenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,9 @@ bool MeshGenerator::initialize(const Cube* cube_, Mesh* mesh_, float iso,

m_progmax = m_dim.x();

// Similar to setting up sliceSize and grid traversal boundaries in BlockMarchFunctor.cpp:
// sliceSize = dims[0] * dims[1];

// m_cube->lock()->unlock();
return true;
}

// TODO: nx ko chhod do m_dim.x() hi rkho aur loop me use kro int use krke
// doosra cheez...baaki sab theek ho jayega

void MeshGenerator::FlyingEdgesAlgorithmPass1()
{
// Loop through z-dimension
Expand Down Expand Up @@ -512,7 +505,6 @@ void MeshGenerator::run()
m_mesh->setStable(false);
m_mesh->clear();

// m_verticesear();

FlyingEdgesAlgorithmPass1();
FlyingEdgesAlgorithmPass2();
Expand All @@ -531,7 +523,6 @@ void MeshGenerator::run()
}



void MeshGenerator::clear()
{
m_iso = 0.0;
Expand Down Expand Up @@ -564,11 +555,6 @@ inline float MeshGenerator::offset(float val1, float val2)
return (m_iso - val1) / (val2 - val1);
}

// This function is similar to interpolating positions in BlockMarchFunctor.cpp:
// In BlockMarchFunctor.cpp:
// T w = (isoval - val[v1]) / (val[v2] - val[v1]);
// Interpolation using lerp() function

unsigned long MeshGenerator::duplicate(const Vector3i&, const Vector3f&)
{
// FIXME Not implemented yet.
Expand Down

0 comments on commit 46ca336

Please sign in to comment.