src/gl/axesprogram.cpp

changeset 216
c7241f504117
parent 215
34c6e7bc4ee1
child 234
87ee9824210b
--- a/src/gl/axesprogram.cpp	Sun Jun 12 23:59:37 2022 +0300
+++ b/src/gl/axesprogram.cpp	Mon Jun 13 02:18:25 2022 +0300
@@ -89,7 +89,11 @@
 
 void AxesLayer::paintGL()
 {
+	glLineWidth(5);
+	glEnable(GL_LINE_SMOOTH);
+	glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
 	this->shader.draw(GL_LINES);
+	glDisable(GL_LINE_SMOOTH);
 }
 
 void AxesLayer::mvpMatrixChanged(const glm::mat4& mvpMatrix)

mercurial