diff --git a/include/Geometry/frame.hpp b/include/Geometry/frame.hpp index e34f00bda6885f0812429d8edb5e95a455111a1e..a8bb1c23d4187dbe26fbf1cc08d6e31811eb11fa 100644 --- a/include/Geometry/frame.hpp +++ b/include/Geometry/frame.hpp @@ -197,6 +197,7 @@ Geom::Vector<3,REAL> sphericalToCart (const Geom::Vector<3,REAL>& sph) template Geom::Vector<3,REAL> rotate (Geom::Vector<3,REAL> axis, REAL angle, Geom::Vector<3,REAL> vector) { + // Algorithm extracted from : http://inside.mines.edu/~gmurray/ArbitraryAxisRotation/ section 5 axis.normalize() ; const REAL& u = axis[0] ;