Commit 25f6a07c authored by Pierre Kraemer's avatar Pierre Kraemer

Merge cgogn:~vanhoey/CGoGN

parents 7ae912f0 003619cd
......@@ -197,6 +197,7 @@ Geom::Vector<3,REAL> sphericalToCart (const Geom::Vector<3,REAL>& sph)
template <typename REAL>
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] ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment