|
|
@@ -237,19 +237,17 @@ namespace glm
|
|
|
|
|
|
// -- Unary arithmetic operators --
|
|
|
|
|
|
-# if !GLM_HAS_DEFAULTED_FUNCTIONS
|
|
|
- template<typename T, qualifier Q>
|
|
|
- GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CXX14 mat<4, 4, T, Q>& mat<4, 4, T, Q>::operator=(mat<4, 4, T, Q> const& m)
|
|
|
- {
|
|
|
- //memcpy could be faster
|
|
|
- //memcpy(&this->value, &m.value, 16 * sizeof(valType));
|
|
|
- this->value[0] = m[0];
|
|
|
- this->value[1] = m[1];
|
|
|
- this->value[2] = m[2];
|
|
|
- this->value[3] = m[3];
|
|
|
- return *this;
|
|
|
- }
|
|
|
-# endif//!GLM_HAS_DEFAULTED_FUNCTIONS
|
|
|
+ template<typename T, qualifier Q>
|
|
|
+ GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CXX14 mat<4, 4, T, Q>& mat<4, 4, T, Q>::operator=(mat<4, 4, T, Q> const& m)
|
|
|
+ {
|
|
|
+ //memcpy could be faster
|
|
|
+ //memcpy(&this->value, &m.value, 16 * sizeof(valType));
|
|
|
+ this->value[0] = m[0];
|
|
|
+ this->value[1] = m[1];
|
|
|
+ this->value[2] = m[2];
|
|
|
+ this->value[3] = m[3];
|
|
|
+ return *this;
|
|
|
+ }
|
|
|
|
|
|
template<typename T, qualifier Q>
|
|
|
template<typename U>
|