mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Remove trivial copy constructors and operators
This commit is contained in:
@ -55,9 +55,6 @@ class quaternion
|
||||
//! inequality operator
|
||||
bool operator!=(const quaternion& other) const;
|
||||
|
||||
//! Assignment operator
|
||||
inline quaternion& operator=(const quaternion& other);
|
||||
|
||||
#ifndef IRR_TEST_BROKEN_QUATERNION_USE
|
||||
//! Matrix assignment operator
|
||||
inline quaternion& operator=(const matrix4& other);
|
||||
@ -240,16 +237,6 @@ inline bool quaternion::operator!=(const quaternion& other) const
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
// assignment operator
|
||||
inline quaternion& quaternion::operator=(const quaternion& other)
|
||||
{
|
||||
X = other.X;
|
||||
Y = other.Y;
|
||||
Z = other.Z;
|
||||
W = other.W;
|
||||
return *this;
|
||||
}
|
||||
|
||||
#ifndef IRR_TEST_BROKEN_QUATERNION_USE
|
||||
// matrix assignment operator
|
||||
inline quaternion& quaternion::operator=(const matrix4& m)
|
||||
|
Reference in New Issue
Block a user