Mercurial > hg > octave-lyh
comparison scripts/plot/private/__marching_cube__.m @ 17320:088d014a7fe2
Use semicolon after "return" statement in core m-files.
* scripts/general/accumdim.m, scripts/image/imformats.m, scripts/io/textread.m,
scripts/io/textscan.m, scripts/linear-algebra/expm.m,
scripts/miscellaneous/edit.m, scripts/optimization/lsqnonneg.m,
scripts/optimization/pqpnonneg.m, scripts/pkg/private/dirempty.m,
scripts/plot/findobj.m, scripts/plot/graphics_toolkit.m,
scripts/plot/private/__errplot__.m, scripts/plot/private/__interp_cube__.m,
scripts/plot/private/__marching_cube__.m, scripts/plot/subplot.m,
scripts/polynomial/residue.m, scripts/sparse/sprandsym.m,
scripts/special-matrix/gallery.m, scripts/strings/strjoin.m:
Use semicolon after "return" statement in core m-files.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 21 Aug 2013 19:53:42 -0700 |
parents | 7babcdb9bc13 |
children | 1c89599167a6 |
comparison
equal
deleted
inserted
replaced
17319:56404cdcb723 | 17320:088d014a7fe2 |
---|---|
147 | 147 |
148 cedge = edge_table(cc+1); # assign the info about intersected edges | 148 cedge = edge_table(cc+1); # assign the info about intersected edges |
149 id = find (cedge); # select only voxels which are intersected | 149 id = find (cedge); # select only voxels which are intersected |
150 if (isempty (id)) | 150 if (isempty (id)) |
151 T = p = col = []; | 151 T = p = col = []; |
152 return | 152 return; |
153 endif | 153 endif |
154 | 154 |
155 ## phase II: calculate the list of intersection points | 155 ## phase II: calculate the list of intersection points |
156 xyz_off = [1, 1, 1; 2, 1, 1; 2, 2, 1; 1, 2, 1; 1, 1, 2; 2, 1, 2; 2, 2, 2; 1, 2, 2]; | 156 xyz_off = [1, 1, 1; 2, 1, 1; 2, 2, 1; 1, 2, 1; 1, 1, 2; 2, 1, 2; 2, 2, 2; 1, 2, 2]; |
157 edges = [1 2; 2 3; 3 4; 4 1; 5 6; 6 7; 7 8; 8 5; 1 5; 2 6; 3 7; 4 8]; | 157 edges = [1 2; 2 3; 3 4; 4 1; 5 6; 6 7; 7 8; 8 5; 1 5; 2 6; 3 7; 4 8]; |