Update renderd7.hpp

This commit is contained in:
tobid7 2021-11-28 05:44:46 +01:00 committed by GitHub
parent 6c03dde215
commit 0e7ac54ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,6 +161,7 @@ namespace RenderD7
namespace Convert
{
inline float StringtoFloat(std::string inp){return std::atof(inp.c_str());}
inline int StringtoInt(std::string inp){return std::atoi(inp.c_str());}
inline bool FloatToBool(float inp){if(inp == 1)return true; else return false;}
}
namespace FS