0

OPENGL

Help me out sil vous plait 🙏 how do you draw a line using gl line, gl line strip & gl line loop?

6th Feb 2022, 5:07 AM
ztotheworld
1 Antwort
+ 1
After you set up your basic window etc. use this to draw the actual line: glLineWidth(2.5); glColor3f(1.0, 0.0, 0.0); glBegin(GL_LINES); glVertex3f(0.0, 0.0, 0.0); glVertex3f(15, 0, 0); glEnd();
6th Feb 2022, 10:08 AM
JaScript
JaScript - avatar