Skip to content

Commit

Permalink
Update uv_unwrapper.h
Browse files Browse the repository at this point in the history
  • Loading branch information
teo3n authored Nov 1, 2021
1 parent 587f944 commit 0791017
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/uv_unwrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ namespace stitcher3d
{
namespace uv
{

template <typename T>
inline T min_arg(const T &a, const T &b)
{
return a < b ? a : b;
}

void unwrap_uvs_xatlas(std::shared_ptr<surface::SurfaceMesh> mesh);

Expand Down Expand Up @@ -153,4 +159,4 @@ inline void pack_uvs(std::vector<std::array<Eigen::Vector2d, TR_VERT_COUNT>>* uv


}
}
}

0 comments on commit 0791017

Please sign in to comment.