Commit d2c7de38 authored by Aloshi's avatar Aloshi

Fix for building with VS2013.

parent 8f3a02d8
......@@ -21,10 +21,13 @@ std::string strToUpper(const std::string& str)
return strToUpper(str.c_str());
}
#if _MSC_VER < 1800
float round(float num)
{
return (float)((int)(num + 0.5f));
}
#endif
Eigen::Affine3f& roundMatrix(Eigen::Affine3f& mat)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment