From: Patrick H. <pa...@13...> - 2003-04-18 15:36:13
|
Here's the list I put together from the list of method instantiations needed for Python: gmtl::makeNormal(gmtl::Vec) gmtl::set(gmtl::AxisAngle&, gmtl::Quat) gmtl::setRot(gmtl::AxisAngle&, gmtl::Quat) In the first case, I *think* the gmtl::Vec<S, T> parameter should be a const reference. In the other two, I would think that the gmtl::Quat<T> parameter should be a const reference, but this could be one of those places where a copy is more appropriate. Ths list is shorter than I remember, but that's probably because there are multiple variations of these instantiated based on the data types used (float, double, etc.). -Patrick Ben Scott wrote: > Patrick Hartling wrote: > > [snip] > >> P.S. There are several places where data types are being passed by >> value where pass-by-reference behavior would be appropriate. I didn't >> note where each of these is, but I should be able to find them in my >> long list of function instantiations. > > > Please do keep a list as you find them and let us know what they are. > That way we can fix them if you don't. :) > > cheers, > ----- > Ben Scott > Research Assistant > VR Juggler Team > Virtual Reality Applications Center > bs...@vr... > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > ggt-devel mailing list > ggt...@li... > https://lists.sourceforge.net/lists/listinfo/ggt-devel -- Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2274 Howe Hall Room 2624 PGP: http://www.137.org/patrick/pgp.txt | T: +1.515.294.4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |