Mercurial > hg > octave-nkf
comparison src/gl-render.cc @ 7924:4976f66d469b
miscellaneous cleanup
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Jul 2008 17:59:28 -0400 |
parents | e998e81224b5 |
children | 3ffc34caec65 |
comparison
equal
deleted
inserted
replaced
7923:c3d21b9b94b6 | 7924:4976f66d469b |
---|---|
2296 // FIXME: retrieve alpha data from patch object | 2296 // FIXME: retrieve alpha data from patch object |
2297 //a = props.get_alpha_data (); | 2297 //a = props.get_alpha_data (); |
2298 has_facealpha = ((a.numel () > 0) && (a.rows () == f.rows ())); | 2298 has_facealpha = ((a.numel () > 0) && (a.rows () == f.rows ())); |
2299 } | 2299 } |
2300 | 2300 |
2301 octave_idx_type fr = f.rows (), fc = f.columns (); | 2301 octave_idx_type fr = f.rows (); |
2302 std::vector<vertex_data> vdata (f.numel ()); | 2302 std::vector<vertex_data> vdata (f.numel ()); |
2303 | 2303 |
2304 for (int i = 0; i < nf; i++) | 2304 for (int i = 0; i < nf; i++) |
2305 for (int j = 0; j < count_f(i); j++) | 2305 for (int j = 0; j < count_f(i); j++) |
2306 { | 2306 { |