Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conandata.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: "1.0.0"
version: "1.0.1"
4 changes: 2 additions & 2 deletions src/unwrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ std::vector<Vector3F> calculateProjectionNormals(const std::vector<FaceData>& fa
};

// The unprocessed_faces is a sub-range of the faces list, that contains all the faces that have not been assigned to a group yet.
FaceDataRange unprocessed_faces = { .begin = faces_to_process.begin(), .end = faces_to_process.end() };
FaceDataRange unprocessed_faces = { .begin = std::next(faces_to_process.begin()), .end = faces_to_process.end() };

while (true)
{
Expand All @@ -85,7 +85,7 @@ std::vector<Vector3F> calculateProjectionNormals(const std::vector<FaceData>& fa
Vector3F summed_normals = std::accumulate(
current_faces_group.begin,
current_faces_group.end,
Vector3F(),
*project_normal,
[](const Vector3F& normal, const FaceData* face_data)
{
return normal + face_data->normal;
Expand Down
Loading