Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646bede commit 49ccd8fCopy full SHA for 49ccd8f
2 files changed
es-core/src/Util.cpp
@@ -26,7 +26,7 @@ std::string strToUpper(const std::string& str)
26
}
27
28
29
-#if _MSC_VER < 1800
+#if defined(_WIN32) && _MSC_VER < 1800
30
float round(float num)
31
{
32
return (float)((int)(num + 0.5f));
es-core/src/Util.h
@@ -15,7 +15,9 @@ Eigen::Affine3f roundMatrix(const Eigen::Affine3f& mat);
15
Eigen::Vector3f roundVector(const Eigen::Vector3f& vec);
16
Eigen::Vector2f roundVector(const Eigen::Vector2f& vec);
17
18
19
float round(float num);
20
+#endif
21
22
std::string getCanonicalPath(const std::string& str);
23
0 commit comments