diff libinterp/corefcn/gl-render.cc @ 30040:805357e6b058

maint: use "m_" prefix for member variables of graphics objects. * graphics.in.h (patch::properties): Rename variables to "m_bad_data_msg" and "m_coplanar_last_idx". * graphics.in.h (scatter::properties): Rename variable to "m_bad_data_msg". * graphics.in.h (uicontextmenu::properties): Rename variable to "m_dependent_obj_list". * gl-render.cc: Rename occurrences of "coplanar_last_idx". * graphics.cc: Rename occurrences of "bad_data_msg", "coplanar_last_idx".
author Rik <rik@octave.org>
date Wed, 25 Aug 2021 09:17:48 -0700
parents ebd1ac75e99f
children 5c9f5353eef3
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.cc	Wed Aug 25 08:26:09 2021 -0700
+++ b/libinterp/corefcn/gl-render.cc	Wed Aug 25 09:17:48 2021 -0700
@@ -3397,11 +3397,11 @@
                   continue;
 
                 bool is_non_planar = false;
-                if (props.coplanar_last_idx.size () > 0
-                    && props.coplanar_last_idx[i].size () > 1)
+                if (props.m_coplanar_last_idx.size () > 0
+                    && props.m_coplanar_last_idx[i].size () > 1)
                   {
                     is_non_planar = true;
-                    it = props.coplanar_last_idx[i].end ();
+                    it = props.m_coplanar_last_idx[i].end ();
                     it--;
                   }
 
@@ -3411,7 +3411,7 @@
                     if (is_non_planar)
                       {
                         i_end = *it;
-                        if (it == props.coplanar_last_idx[i].begin ())
+                        if (it == props.m_coplanar_last_idx[i].begin ())
                           i_start = 0;
                         else
                           {
@@ -3529,8 +3529,8 @@
             for (int i = 0; i < nf; i++)
               {
                 bool is_non_planar = false;
-                if (props.coplanar_last_idx.size () > 0
-                    && props.coplanar_last_idx[i].size () > 1)
+                if (props.m_coplanar_last_idx.size () > 0
+                    && props.m_coplanar_last_idx[i].size () > 1)
                   is_non_planar = true;
                 if (clip_f(i) || is_non_planar)
                   {