On 12/07/10 11:36, Václav Šmilauer wrote:
+//FIXME : risk of memory leak with these "new"? static Quaternionr* Quaternionr_fromAxisAngle(const Vector3r& axis, const Real angle){ return new Quaternionr(AngleAxisr(angle,axis)); } static Quaternionr* Quaternionr_fromAngleAxis(const Real angle, const Vector3r& axis){ return new Quaternionr(AngleAxisr(angle,axis)); }Bruno, what is the use of this?? Of course it will leak memory!!
Who wrote those functions?
FYI MinkowskI (I changed that at a few places, but not everywhere)
Ah, damn, thanks! :) Bruno _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

