Registered Member
|
Hey
can I use EIGEN_QUATERNIONBASE_PLUGIN to add an custom constructor to Quaterniond? I tried this, but couldn't get this working. thx for any hints on this. |
Moderator
|
No, you cannot add Quaternion's ctor like this because this plugin is for the QuaternionBase class. However, you can still write a free function constructing a Quaternion for you. You will only loose implicit conversion.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]