Mod/Mesh: suppress bunch of warnings on C++11 usage
Warnings was like: src/Mod/Mesh/App/WildMagic4/Wm4Vector4.cpp|21 col 49| warning: first declaration of static data member specialization of 'ZERO' outside namespace 'Wm4' is a C++11 extension [-Wc++11-extensions]
This commit is contained in:
committed by
wmayer
parent
5b469a4078
commit
8fdf8367ad
@@ -16,7 +16,8 @@
|
||||
|
||||
#include "Wm4FoundationPCH.h"
|
||||
#include "Wm4Vector4.h"
|
||||
using namespace Wm4;
|
||||
|
||||
namespace Wm4 {
|
||||
|
||||
template<> const Vector4<float> Vector4<float>::ZERO(0.0f,0.0f,0.0f,0.0f);
|
||||
template<> const Vector4<float> Vector4<float>::UNIT_X(1.0f,0.0f,0.0f,0.0f);
|
||||
@@ -31,3 +32,5 @@ template<> const Vector4<double> Vector4<double>::UNIT_Y(0.0,1.0,0.0,0.0);
|
||||
template<> const Vector4<double> Vector4<double>::UNIT_Z(0.0,0.0,1.0,0.0);
|
||||
template<> const Vector4<double> Vector4<double>::UNIT_W(0.0,0.0,0.0,1.0);
|
||||
template<> const Vector4<double> Vector4<double>::ONE(1.0,1.0,1.0,1.0);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user