Skip to content

Commit

Permalink
Merge branch 'master' into alphaMeshSDP
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo authored Nov 17, 2023
2 parents 1e05884 + e031dfb commit 71c9a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/mesh2heightfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int main( int argc, char** argv )
double diagDist = (b.first-b.second).norm();
if(diagDist<minDiagVolSize){
meshScale = minDiagVolSize/diagDist;
inputMesh.changeScale(meshScale);
inputMesh.rescale(meshScale);
}

triangleAreaUnit *= meshScale;
Expand Down

0 comments on commit 71c9a83

Please sign in to comment.