Mercurial > hg > octave-lyh
comparison scripts/plot/private/__interp_cube__.m @ 11120:a44f979a35ce
style fixes for some .m files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Oct 2010 20:49:17 -0400 |
parents | 2c356a35d7f5 |
children | 1740012184f9 |
comparison
equal
deleted
inserted
replaced
11119:d3eaaa7c6762 | 11120:a44f979a35ce |
---|---|
48 if (isempty (v)) | 48 if (isempty (v)) |
49 Vxyz = idx = frac = []; | 49 Vxyz = idx = frac = []; |
50 return | 50 return |
51 endif | 51 endif |
52 | 52 |
53 switch req | 53 switch (req) |
54 case "values" | 54 case "values" |
55 [Vxyz, idx, frac] = interp_cube_trilin (x, y, z, val, v); | 55 [Vxyz, idx, frac] = interp_cube_trilin (x, y, z, val, v); |
56 case "normals" | 56 case "normals" |
57 [idx, frac] = cube_idx (x, y, z, v); | 57 [idx, frac] = cube_idx (x, y, z, v); |
58 | 58 |