Skip to content

Commit

Permalink
Update uv_unwrapper.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
teo3n authored Nov 1, 2021
1 parent f20d4a4 commit 2045621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uv_unwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ void pad_uvs(std::vector<Eigen::Vector2d>& uv_coords, const std::vector<uint32_t
Eigen::Vector2d& uv2 = uv_coords[indices[ii + 2]];

const Eigen::Vector2d refpos = Eigen::Vector2d(
min_arg(uv0.x(), min_arg(uv1.x(), uv2.x())),
min_arg(uv0.y(), min_arg(uv1.y(), uv2.y()))
std::min(uv0.x(), std::min(uv1.x(), uv2.x())),
std::min(uv0.y(), std::min(uv1.y(), uv2.y()))
);

uv0 -= refpos;
Expand Down

0 comments on commit 2045621

Please sign in to comment.