comparison src/graphics.cc @ 15017:dd4ad69e4ab9

maint: Fix a few Octave coding convention violations. * gzip.m, findfigs.m, hdl2struct.m: Use parentheses around if block test. * graphics.cc, ov-class.cc: Use space after if and before first parenthesis
author Rik <rik@octave.org>
date Wed, 25 Jul 2012 20:58:21 -0700
parents f7afecdd87ef
children 7a3957ca99c3
comparison
equal deleted inserted replaced
15016:005cb78e1dd1 15017:dd4ad69e4ab9
6831 { 6831 {
6832 Matrix v = get_view ().matrix_value (); 6832 Matrix v = get_view ().matrix_value ();
6833 6833
6834 v(1) += delta_el; 6834 v(1) += delta_el;
6835 6835
6836 if(v(1) > 90) 6836 if (v(1) > 90)
6837 v(1) = 90; 6837 v(1) = 90;
6838 if(v(1) < -90) 6838 if (v(1) < -90)
6839 v(1) = -90; 6839 v(1) = -90;
6840 6840
6841 v(0) = fmod (v(0) - delta_az + 720,360); 6841 v(0) = fmod (v(0) - delta_az + 720,360);
6842 6842
6843 set_view (v); 6843 set_view (v);