Logo Search packages:      
Sourcecode: blender version File versions  Download package

template<typename _Scalar>
template<typename OtherScalarType>
Quaternion< _Scalar >::Quaternion ( const Quaternion< OtherScalarType > &  other  )  [inline, explicit]

Copy constructor with scalar type conversion

Definition at line 206 of file Quaternion.h.

References Quaternion< _Scalar >::coeffs().

  { m_coeffs = other.coeffs().template cast<Scalar>(); }


Generated by  Doxygen 1.6.0   Back to index