Commit 63cd636f authored by Jan Möbius's avatar Jan Möbius
Browse files

Revert some breaking explicits

parent 4a43fe3a
......@@ -100,11 +100,11 @@ public:
: Vec4(_w, _x, _y, _z) {}
/// construct from 3D point (pure imaginary quaternion)
explicit QuaternionT(const Vec3& _p)
QuaternionT(const Vec3& _p)
: Vec4(0, _p[0], _p[1], _p[2]) {}
/// construct from 4D vector
explicit QuaternionT(const Vec4& _p)
QuaternionT(const Vec4& _p)
: Vec4(_p[0], _p[1], _p[2], _p[3]) {}
/// construct from rotation axis and angle (in radians)
......@@ -121,7 +121,7 @@ public:
/// construct from rotation matrix (only valid for rotation matrices!)
template <class MatrixT>
explicit QuaternionT(const MatrixT& _rot)
QuaternionT(const MatrixT& _rot)
{ init_from_matrix( _rot); }
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