refactor Quaternion class (#20031) (#20213)

* remove redundant copy constructor and destructor
This commit is contained in:
minggo 2019-10-17 11:12:49 +08:00 committed by GitHub
parent 99e984dde5
commit fafd16e949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 21 deletions

View File

@ -53,15 +53,6 @@ Quaternion::Quaternion(const Vec3& axis, float angle)
set(axis, angle);
}
Quaternion::Quaternion(const Quaternion& copy)
{
set(copy);
}
Quaternion::~Quaternion()
{
}
const Quaternion& Quaternion::identity()
{
static Quaternion value(0.0f, 0.0f, 0.0f, 1.0f);

View File

@ -125,18 +125,6 @@ public:
*/
Quaternion(const Vec3& axis, float angle);
/**
* Constructs a new quaternion that is a copy of the specified one.
*
* @param copy The quaternion to copy.
*/
Quaternion(const Quaternion& copy);
/**
* Destructor.
*/
~Quaternion();
/**
* Returns the identity quaternion.
*