mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
fix compilation and clean a bit Map<Quaternion>
This commit is contained in:
parent
e12f5adbde
commit
7aad434160
@ -304,20 +304,13 @@ template<typename _Scalar, int PacketAccess>
|
|||||||
class Map<Quaternion<_Scalar>, PacketAccess >
|
class Map<Quaternion<_Scalar>, PacketAccess >
|
||||||
: public QuaternionBase<Map<Quaternion<_Scalar>, PacketAccess> >
|
: public QuaternionBase<Map<Quaternion<_Scalar>, PacketAccess> >
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
typedef _Scalar Scalar;
|
|
||||||
typedef Map<Quaternion<Scalar>, PacketAccess > MapQuat;
|
|
||||||
|
|
||||||
private:
|
|
||||||
Map<Quaternion<Scalar>, PacketAccess >();
|
|
||||||
Map<Quaternion<Scalar>, PacketAccess >(const Map<Quaternion<Scalar>, PacketAccess>&);
|
|
||||||
|
|
||||||
typedef QuaternionBase<Map<Quaternion<_Scalar>, PacketAccess> > Base;
|
typedef QuaternionBase<Map<Quaternion<_Scalar>, PacketAccess> > Base;
|
||||||
public:
|
|
||||||
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(MapQuat)
|
|
||||||
using Base::operator*=;
|
|
||||||
|
|
||||||
typedef typename ei_traits<Map<Quaternion<Scalar>, PacketAccess> >::Coefficients Coefficients;
|
public:
|
||||||
|
typedef _Scalar Scalar;
|
||||||
|
typedef typename ei_traits<Map>::Coefficients Coefficients;
|
||||||
|
EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Map)
|
||||||
|
using Base::operator*=;
|
||||||
|
|
||||||
/** Constructs a Mapped Quaternion object from the pointer \a coeffs
|
/** Constructs a Mapped Quaternion object from the pointer \a coeffs
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user