Commit 9007d128 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

Removed assignment operator from vtkQuaternion

This wasn't needed, and is not implemented by any of the other classes
deriving from vtkTuple.

Change-Id: I00c36e7b6384cd14f6076e8cafcb16982dd136c3
parent cb510017
......@@ -196,10 +196,6 @@ public:
vtkQuaternion<T> InnerPoint(const vtkQuaternion<T>& q1,
const vtkQuaternion<T>& q2) const;
// Description:
// Performs the copy of a quaternion of the same basic type.
void operator=(const vtkQuaternion<T>& q);
// Description:
// Performs addition of quaternion of the same basic type.
vtkQuaternion<T> operator+(const vtkQuaternion<T>& q) const;
......
......@@ -273,16 +273,6 @@ vtkQuaternion<T>::SetRotationAngleAndAxis (const T& angle,
}
}
//----------------------------------------------------------------------------
template<typename T>
void vtkQuaternion<T>::operator=(const vtkQuaternion<T>& q)
{
for (int i = 0; i < 4; ++i)
{
this->Data[i] = q[i];
}
}
//----------------------------------------------------------------------------
template<typename T>
vtkQuaternion<T> vtkQuaternion<T>::operator+(const vtkQuaternion<T>& q) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment