Fixes for warnings under VisualStudio
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__))
|
||||
// disable the double to float errors.
|
||||
#pragma warning( disable : 4305 )
|
||||
#endif
|
||||
|
||||
static float vertex[][3] = {
|
||||
|
||||
{ 5998.7998, 41456.1016, 1.7800 },
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
#if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__))
|
||||
// disable the double to float errors.
|
||||
#pragma warning( disable : 4305 )
|
||||
#endif
|
||||
|
||||
static float normal[][3] = {
|
||||
{ -0.2560, -0.1125, 0.9600 },
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
#if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__))
|
||||
// disable the double to float errors.
|
||||
#pragma warning( disable : 4305 )
|
||||
#endif
|
||||
|
||||
static float texcoord[][2] = {
|
||||
#ifdef _ORIGINAL_ /* [ */
|
||||
{ 0.1121, 0.0171 },
|
||||
|
||||
Reference in New Issue
Block a user