Mercurial > jwe > octave
changeset 23863:56b7352fa456
maint: Strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 10 Aug 2017 11:54:40 -0400 |
parents | 3487b4a1e4d0 |
children | e660b93d51dc |
files | libinterp/corefcn/gl-render.cc libinterp/corefcn/gl2ps-print.cc libinterp/corefcn/graphics.cc scripts/path/import.m |
diffstat | 4 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.cc Thu Aug 10 11:53:25 2017 -0400 +++ b/libinterp/corefcn/gl-render.cc Thu Aug 10 11:54:40 2017 -0400 @@ -2108,7 +2108,7 @@ setup_opengl_transformation (props); - // For 2D axes with only 2D primitives, draw from back to front without + // For 2D axes with only 2D primitives, draw from back to front without // depth sorting bool is2D = props.get_is2D (true); if (is2D)
--- a/libinterp/corefcn/gl2ps-print.cc Thu Aug 10 11:53:25 2017 -0400 +++ b/libinterp/corefcn/gl2ps-print.cc Thu Aug 10 11:54:40 2017 -0400 @@ -206,7 +206,7 @@ { bool retval = true; graphics_object go = gh_manager::get_object (h); - + if (! go.valid_object ()) return retval;
--- a/libinterp/corefcn/graphics.cc Thu Aug 10 11:53:25 2017 -0400 +++ b/libinterp/corefcn/graphics.cc Thu Aug 10 11:54:40 2017 -0400 @@ -7558,7 +7558,7 @@ get_children_limits (min_val, max_val, min_pos, max_neg, kids, 'z'); - xproperties.set_has3Dkids ((max_val - min_val) > + xproperties.set_has3Dkids ((max_val - min_val) > std::numeric_limits<double>::epsilon ()); limits = xproperties.get_axis_limits (min_val, max_val, @@ -7569,11 +7569,11 @@ } else { - // FIXME: get_children_limits is only needed here in order to know + // FIXME: get_children_limits is only needed here in order to know // if there are 3D children. Is there a way to avoid this call? get_children_limits (min_val, max_val, min_pos, max_neg, kids, 'z'); - xproperties.set_has3Dkids ((max_val - min_val) > + xproperties.set_has3Dkids ((max_val - min_val) > std::numeric_limits<double>::epsilon ()); } } @@ -7739,7 +7739,7 @@ { get_children_limits (min_val, max_val, min_pos, max_neg, kids, 'z'); - xproperties.set_has3Dkids ((max_val - min_val) > + xproperties.set_has3Dkids ((max_val - min_val) > std::numeric_limits<double>::epsilon ()); limits = xproperties.get_axis_limits (min_val, max_val, @@ -7750,11 +7750,11 @@ } else { - // FIXME: get_children_limits is only needed here in order to know + // FIXME: get_children_limits is only needed here in order to know // if there are 3D children. Is there a way to avoid this call? get_children_limits (min_val, max_val, min_pos, max_neg, kids, 'z'); - xproperties.set_has3Dkids ((max_val - min_val) > + xproperties.set_has3Dkids ((max_val - min_val) > std::numeric_limits<double>::epsilon ()); } }