128 this->axesProgram->draw(); |
128 this->axesProgram->draw(); |
129 glDisable(GL_LINE_SMOOTH); |
129 glDisable(GL_LINE_SMOOTH); |
130 } |
130 } |
131 // Render vertices |
131 // Render vertices |
132 { |
132 { |
133 glLineWidth(1.5); |
133 glCullFace(GL_FRONT); |
134 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); |
|
135 glEnable(GL_LINE_SMOOTH); |
|
136 glHint(GL_LINE_SMOOTH_HINT, GL_NICEST); |
|
137 this->vertexProgram->draw(); |
134 this->vertexProgram->draw(); |
138 glDisable(GL_LINE_SMOOTH); |
|
139 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); |
|
140 } |
135 } |
141 // Render grid |
136 // Render grid |
142 { |
137 { |
143 glLineWidth(1); |
138 glLineWidth(1); |
144 glEnable(GL_BLEND); |
139 glEnable(GL_BLEND); |