Commit 525adbc9 authored by David Bommes's avatar David Bommes
Browse files

added Matrix Constructor

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9841 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b08368cb
......@@ -112,10 +112,10 @@ public:
Z = sin_theta * _axis[2];
}
// /// construct from rotation matrix (only valid for rotation matrices!)
// template <class MatrixT>
// QuaternionT(const MatrixT& _rot)
// { init_from_matrix( _rot); }
/// construct from rotation matrix (only valid for rotation matrices!)
template <class MatrixT>
QuaternionT(const MatrixT& _rot)
{ init_from_matrix( _rot); }
/// identity rotation
......
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