
* mln/core/alias/window3d.hh: add slice coordinate.. --- milena/ChangeLog | 6 ++++++ milena/mln/core/alias/window3d.hh | 28 ++++++++++++++-------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 8d754e2..dc9cd2a 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,11 @@ 2009-03-02 Guillaume Lazzara <lazzara@lrde.epita.fr> + Fix window3d. + + * mln/core/alias/window3d.hh: add slice coordinate.. + +2009-03-02 Guillaume Lazzara <lazzara@lrde.epita.fr> + Add more window aliases. * mln/core/alias/neighb3d.hh: add c8_3d. diff --git a/milena/mln/core/alias/window3d.hh b/milena/mln/core/alias/window3d.hh index fe197f8..5489fbd 100644 --- a/milena/mln/core/alias/window3d.hh +++ b/milena/mln/core/alias/window3d.hh @@ -110,11 +110,11 @@ namespace mln if (it.size() == 0) { it - .insert( 0, -1) - .insert(-1, 0) - .insert( 0, 0) - .insert(+1, 0) - .insert( 0, +1); + .insert(0, 0, -1) + .insert(0, -1, 0) + .insert(0, 0, 0) + .insert(0, +1, 0) + .insert(0, 0, +1); } return it; } @@ -126,15 +126,15 @@ namespace mln if (it.size() == 0) { it - .insert(-1, -1) - .insert( 0, -1) - .insert(+1, -1) - .insert(-1, 0) - .insert( 0, 0) - .insert(+1, 0) - .insert(-1, +1) - .insert( 0, +1) - .insert(+1, +1); + .insert(0, -1, -1) + .insert(0, 0, -1) + .insert(0, +1, -1) + .insert(0, -1, 0) + .insert(0, 0, 0) + .insert(0, +1, 0) + .insert(0, -1, +1) + .insert(0, 0, +1) + .insert(0, +1, +1); } return it; } -- 1.5.6.5
participants (1)
-
Guillaume Lazzara