mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fix for building with VS2013.
This commit is contained in:
parent
8f3a02d859
commit
d2c7de3802
|
@ -21,10 +21,13 @@ std::string strToUpper(const std::string& str)
|
||||||
return strToUpper(str.c_str());
|
return strToUpper(str.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if _MSC_VER < 1800
|
||||||
float round(float num)
|
float round(float num)
|
||||||
{
|
{
|
||||||
return (float)((int)(num + 0.5f));
|
return (float)((int)(num + 0.5f));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
Eigen::Affine3f& roundMatrix(Eigen::Affine3f& mat)
|
Eigen::Affine3f& roundMatrix(Eigen::Affine3f& mat)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue