Skip to content

Commit

Permalink
Orientation comb and Edge brush tools bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
livada committed Nov 3, 2019
1 parent 2d1d563 commit d40e754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smoothcurve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ inline bool astar(const MatrixXu &F, const VectorXu &E2E, const MatrixXf &V, uin
};

auto eucldist = [&](uint32_t i, uint32_t j) -> Float {
Vector3f diff;
Vector3f diff = Vector3f::Zero();
for (uint32_t k=0; k<3; ++k)
diff += V.col(F(k, i)) - V.col(F(k, j));
return diff.norm() * (1.0f / 3.0f);
Expand Down

0 comments on commit d40e754

Please sign in to comment.