|
From: Patrick H. <pa...@13...> - 2008-06-02 14:30:12
|
It's possible. Feel free to add overloads that are useful to you. GMTL
could always use more extensive coverage of different use cases.
-Patrick
On Jun 2, 2008, at 1:53 AM, Wouter Wognum wrote:
> It does :)
> Thank you,
>
> but what about the makeRot and makeTrans functions,
> they're only supposed to work with a few types as well?
>
> The FAQ needs a drastic update...
> ----- Original Message -----
> From: Kevin Meinert
> To: ggt...@li...
> Sent: Sunday, June 01, 2008 10:42 PM
> Subject: Re: [ggt-devel] problems using GMTL
>
>
>
>
> VC++ gives tons more output than those 2 lines I sent you.
> basically AA * vec and Euler * vec don't exist, and the tons of spew
> from VC++ is it's way of saying that....
>
> use this main.cpp, and compile with cl main.cpp -I..
>
> it does compile...
>
>
> #include <gmtl/gmtl.h>
>
>
> int main()
> {
> gmtl::Vec3f myVec;
> // gmtl::AxisAnglef myAA;
> gmtl::Quatf myQuat;
> gmtl::Matrix44f myMat;
> // gmtl::EulerAngleXYZf myEuler;
>
> // myVec = myAA * myVec ;
> myVec = myQuat * myVec ;
> myVec = myMat * myVec ;
> // myVec = myEuler * myVec ;
> return 0;
> }
[snip]
--
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/
|