mirror of https://github.com/axmolengine/axmol.git
* remove redundant copy constructor and destructor
This commit is contained in:
parent
99e984dde5
commit
fafd16e949
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue