Math: Remove all Set(class) methods

This commit is contained in:
Lynix
2019-12-10 09:49:40 +01:00
parent ef030ddaac
commit be8e89b228
30 changed files with 19 additions and 234 deletions

View File

@@ -169,20 +169,6 @@ namespace Nz
return Set(angle.ToEulerAngles());
}
/*!
* \brief Sets the components of the euler angle from another euler angle
* \return A reference to this euler angle
*
* \param angles The other euler angle
*/
template<typename T>
EulerAngles<T>& EulerAngles<T>::Set(const EulerAngles& angles)
{
std::memcpy(this, &angles, sizeof(EulerAngles));
return *this;
}
/*!
* \brief Sets the components of the euler angle from a quaternion
* \return A reference to this euler angle