Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

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

Merge cgogn:~vanhoey/CGoGN

parents 7ae912f0 003619cd
...@@ -197,6 +197,7 @@ Geom::Vector<3,REAL> sphericalToCart (const Geom::Vector<3,REAL>& sph) ...@@ -197,6 +197,7 @@ Geom::Vector<3,REAL> sphericalToCart (const Geom::Vector<3,REAL>& sph)
template <typename REAL> template <typename REAL>
Geom::Vector<3,REAL> rotate (Geom::Vector<3,REAL> axis, REAL angle, Geom::Vector<3,REAL> vector) 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() ; axis.normalize() ;
const REAL& u = axis[0] ; 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