refactored CloudNormals and added test for it

This commit is contained in:
Anatoly Baksheev
2014-01-07 10:53:04 +04:00
parent b7cb3fe8e0
commit cd57c4e189
6 changed files with 72 additions and 118 deletions

View File

@@ -170,6 +170,11 @@ namespace cv
static VizMap storage;
friend class Viz3d;
};
template<typename _Tp> bool isNan(const _Tp* data)
{
return isNan(data[0]) || isNan(data[1]) || isNan(data[2]);
}
}
}