|
|
@@ -28,6 +28,7 @@
|
|
|
|
|
|
namespace glm
|
|
|
{
|
|
|
+# ifdef GLM_STATIC_CONST_MEMBERS
|
|
|
template <typename T, precision P>
|
|
|
const tvec2<T, P> tvec2<T, P>::ZERO = tvec2<T, P>(static_cast<T>(0), static_cast<T>(0));
|
|
|
|
|
|
@@ -39,6 +40,7 @@ namespace glm
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
const tvec2<T, P> tvec2<T, P>::XY = tvec2<T, P>(static_cast<T>(1), static_cast<T>(1));
|
|
|
+# endif
|
|
|
// -- Implicit basic constructors --
|
|
|
|
|
|
# if !GLM_HAS_DEFAULTED_FUNCTIONS || !defined(GLM_FORCE_NO_CTOR_INIT)
|