Thread Previous • Date Previous • Date Next • Thread Next |
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
Thread Previous • Date Previous • Date Next • Thread Next |