src/ui/canvas.cpp

changeset 120
8c9fff699241
parent 119
24275a4064f4
child 121
000781318c36
equal deleted inserted replaced
119:24275a4064f4 120:8c9fff699241
161 this->axesProgram->draw(); 161 this->axesProgram->draw();
162 glDisable(GL_LINE_SMOOTH); 162 glDisable(GL_LINE_SMOOTH);
163 } 163 }
164 // Render vertices 164 // Render vertices
165 { 165 {
166 glLineWidth(2); 166 glLineWidth(1.5);
167 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); 167 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
168 glEnable(GL_LINE_SMOOTH); 168 glEnable(GL_LINE_SMOOTH);
169 glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); 169 glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
170 this->vertexProgram->draw(); 170 this->vertexProgram->draw();
171 glDisable(GL_LINE_SMOOTH); 171 glDisable(GL_LINE_SMOOTH);

mercurial