glLineWidth(2.5);
To make the line smoother, use
glEnable(GL_LINE_SMOOTH);
This command makes your line bolder.
To create a dashed line, try
glEnable(GL_LINE_STIPPLE);
Then make the lineglLineStipple(1, 0x33ff);
The above function is glLineStipple(factor, pattern)
See more on: http://glprogramming.com/red/
No comments:
Post a Comment