From: <no...@so...> - 2002-06-14 00:06:43
|
Feature Requests item #562028, was opened at 2002-05-29 14:46 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=437250&aid=562028&group_id=43735 Category: None Group: None >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Justin Hare (jahare) >Assigned to: Allen Bierbaum (allenb) Summary: More quaternion generators Initial Comment: Would like to be able to make a quaternion directly from a matrix and also from Euler angles. Examples: gmtl::Quatf myquat; myquat = gmtl::makeRot<gmtl::Quatf>( my_matrix ); myquat = gmtl::makeRot<gmtl::Quatf>( x, y, z, gmtl::XYZ ); ---------------------------------------------------------------------- >Comment By: Kevin Meinert (subatomic) Date: 2002-06-13 20:06 Message: Logged In: YES user_id=49859 this works now. see the generic makeRot that is templated on srctype and return type, and basically calls setRot with them. if setRot is defined (which it is for quat/matrix, and quat/axisangle, and quat/euler) then makeRot will automatically use those... :) ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=437250&aid=562028&group_id=43735 |