RegInfo: fixed copy without data.

This commit is contained in:
matlabbe
2020-03-28 18:48:51 -04:00
parent 451211cfb1
commit 0eb978cb0b
2 changed files with 4 additions and 1 deletions

View File

@@ -43,7 +43,8 @@ public:
icpInliersRatio(0),
icpTranslation(0.0f),
icpRotation(0.0f),
icpStructuralComplexity(0.0f)
icpStructuralComplexity(0.0f),
icpCorrespondences(0)
{
}
@@ -62,6 +63,7 @@ public:
output.icpTranslation = icpTranslation;
output.icpRotation = icpRotation;
output.icpStructuralComplexity = icpStructuralComplexity;
output.icpCorrespondences = icpCorrespondences;
return output;
}