Commit 3410400c authored by Roland Levillain's avatar Roland Levillain
Browse files

Milena: Make rotation axis optional.

	* mln/fun/x2x/rotation.hh
	(rotation<n, C>::rotation(const C&, const algebra::vec<n,C>&)):
	Provide a default version for the second argument.
parent 3700b606
2013-10-09 Roland Levillain <roland@lrde.epita.fr>
Milena: Make rotation axis optional.
* mln/fun/x2x/rotation.hh
(rotation<n, C>::rotation(const C&, const algebra::vec<n,C>&)):
Provide a default version for the second argument.
2013-10-09 Roland Levillain <roland@lrde.epita.fr>
 
Milena: Have mln::debug::iota work with images of floats.
......@@ -162,9 +162,9 @@ namespace mln
/// Constructor without argument.
rotation();
/// Constructor with radian alpha and a facultative direction
/// Constructor with radian alpha and an optional direction
/// (rotation axis).
rotation(const C& alpha, const algebra::vec<n,C>& axis);
rotation(const C& alpha, const algebra::vec<n,C>& axis = literal::zero);
/// Constructor with quaternion
rotation(const algebra::quat& q);
/// Constructor with h_mat.
......
Supports Markdown
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