Mercurial > octave-libtiff
comparison libinterp/corefcn/gl-render.h @ 21194:4a04de049ff9
don't provide copy constructor or assignment operator for opengl_renderer
* gl-render.h: Eliminate definition of copy constructor and assignment
operator.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Feb 2016 16:01:19 -0500 |
parents | f7084eae3318 |
children | 53ac24e210e4 |
comparison
equal
deleted
inserted
replaced
21193:577e6936e51d | 21194:4a04de049ff9 |
---|---|
153 double p1, double p2, | 153 double p1, double p2, |
154 int xyz, int ha, int va, | 154 int xyz, int ha, int va, |
155 int& wmax, int& hmax); | 155 int& wmax, int& hmax); |
156 | 156 |
157 private: | 157 private: |
158 opengl_renderer (const opengl_renderer&) | 158 |
159 : toolkit (), xform (), xmin (), xmax (), ymin (), ymax (), | 159 // No copying! |
160 zmin (), zmax (), xZ1 (), xZ2 (), marker_id (), filled_marker_id (), | 160 |
161 camera_pos (), camera_dir () | 161 opengl_renderer (const opengl_renderer&); |
162 #if HAVE_FREETYPE | 162 |
163 , text_renderer () | 163 opengl_renderer& operator = (const opengl_renderer&); |
164 #endif | |
165 { } | |
166 | |
167 opengl_renderer& operator = (const opengl_renderer&) | |
168 { return *this; } | |
169 | 164 |
170 bool is_nan_or_inf (double x, double y, double z) const | 165 bool is_nan_or_inf (double x, double y, double z) const |
171 { | 166 { |
172 return (xisnan (x) || xisnan (y) || xisnan (z) | 167 return (xisnan (x) || xisnan (y) || xisnan (z) |
173 || xisinf (x) || xisinf (y) || xisinf (z)); | 168 || xisinf (x) || xisinf (y) || xisinf (z)); |