Mercurial > hg > octave-lyh
comparison src/gl-render.h @ 11584:cda4aa780d58
Another round of initialising members in the constructor initialisation list
author | Pascal Dupuis <Pascal.Dupuis@uclouvain.be> |
---|---|
date | Thu, 20 Jan 2011 17:07:26 -0500 |
parents | 8ac9687dbe9f |
children | 12df7854fa7c |
comparison
equal
deleted
inserted
replaced
11583:c4c2cd67c440 | 11584:cda4aa780d58 |
---|---|
46 class | 46 class |
47 OCTINTERP_API | 47 OCTINTERP_API |
48 opengl_renderer | 48 opengl_renderer |
49 { | 49 { |
50 public: | 50 public: |
51 opengl_renderer (void) { } | 51 opengl_renderer (void) |
52 : toolkit (), xform (), xmin (), xmax (), ymin (), ymax (), | |
53 zmin (), zmax (), xZ1 (), xZ2 (), marker_id (), filled_marker_id (), | |
54 camera_pos (), camera_dir () | |
55 #if HAVE_FREETYPE | |
56 , text_renderer () | |
57 #endif | |
58 { } | |
52 | 59 |
53 virtual ~opengl_renderer (void) { } | 60 virtual ~opengl_renderer (void) { } |
54 | 61 |
55 virtual void draw (const graphics_handle& h) | 62 virtual void draw (const graphics_handle& h) |
56 { draw (gh_manager::get_object (h)); } | 63 { draw (gh_manager::get_object (h)); } |
109 | 116 |
110 virtual void draw_pixels (GLsizei w, GLsizei h, GLenum format, | 117 virtual void draw_pixels (GLsizei w, GLsizei h, GLenum format, |
111 GLenum type, const GLvoid *data); | 118 GLenum type, const GLvoid *data); |
112 | 119 |
113 private: | 120 private: |
114 opengl_renderer (const opengl_renderer&) { } | 121 opengl_renderer (const opengl_renderer&) |
122 : toolkit (), xform (), xmin (), xmax (), ymin (), ymax (), | |
123 zmin (), zmax (), xZ1 (), xZ2 (), marker_id (), filled_marker_id (), | |
124 camera_pos (), camera_dir () | |
125 #if HAVE_FREETYPE | |
126 , text_renderer () | |
127 #endif | |
128 { } | |
115 | 129 |
116 opengl_renderer& operator = (const opengl_renderer&) | 130 opengl_renderer& operator = (const opengl_renderer&) |
117 { return *this; } | 131 { return *this; } |
118 | 132 |
119 bool is_nan_or_inf (double x, double y, double z) const | 133 bool is_nan_or_inf (double x, double y, double z) const |