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

@@ -430,21 +430,6 @@ namespace Nz
return *this;
}
/*!
* \brief Sets the components of the quaternion from another quaternion
* \return A reference to this quaternion
*
* \param quat The other quaternion
*/
template<typename T>
Quaternion<T>& Quaternion<T>::Set(const Quaternion& quat)
{
std::memcpy(this, &quat, sizeof(Quaternion));
return *this;
}
/*!
* \brief Sets the components of the quaternion from another type of Quaternion
* \return A reference to this quaternion