MSVC下增加warning disable,以减少MGL警告

This commit is contained in:
hyzboy 2019-10-24 18:04:28 +08:00
parent 64dfbbcf7b
commit 7fe0411452

View File

@ -3,6 +3,7 @@
#ifdef _MSC_VER
#pragma warning(disable:4244) // double -> int 精度丢失警告
#pragma warning(disable:4996) // sprintf may be unsafe, Consider using sprintf_s instead
#endif//_MSC_VER
#include<hgl/math/FastTriangle.h>