
* mln/fun/x2x/rotation.hh (fun::x2x::internal::get_rot_h_mat(const C, const algebra::vec<3,C>&)): Fix the definition of the (2,1) coefficient. --- milena/ChangeLog | 8 ++++++++ milena/mln/fun/x2x/rotation.hh | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 0a495d7..64b4f97 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,13 @@ 2010-10-21 Roland Levillain <roland@lrde.epita.fr> + Fix 3D rotations. + + * mln/fun/x2x/rotation.hh + (fun::x2x::internal::get_rot_h_mat(const C, const algebra::vec<3,C>&)): + Fix the definition of the (2,1) coefficient. + +2010-10-21 Roland Levillain <roland@lrde.epita.fr> + Catch up with Boost-related changes in configure.ac. * tests/accu/Makefile.am: Remove uses of the old diff --git a/milena/mln/fun/x2x/rotation.hh b/milena/mln/fun/x2x/rotation.hh index 2e0ee15..ac30ce3 100644 --- a/milena/mln/fun/x2x/rotation.hh +++ b/milena/mln/fun/x2x/rotation.hh @@ -1,4 +1,5 @@ -// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2007, 2008, 2009, 2010 EPITA Research and Development +// Laboratory (LRDE) // // This file is part of Olena. // @@ -101,7 +102,7 @@ namespace mln m_(1,3) = 0; m_(2,0) = u * w * (1 - cos_a) - v * sin_a; - m_(2,1) = u * w * (1 - cos_a) + u * sin_a; + m_(2,1) = v * w * (1 - cos_a) + u * sin_a; m_(2,2) = w2 + (1 - w2) * cos_a; m_(2,3) = 0; -- 1.5.6.5