Stippled Lines
To make stippled (dotted or dashed) lines, you use the command glLineStipple() to define the stipple pattern, and then you enable line stippling with glEnable().
First, the Red Book tells me that I need to use odd values for the stippled line values. I cannot enter the line that follows without the interperater throwing an error because it cannot understand "0x3f07". I have tried casting it but this does not produce the desired line.
glLineStipple(1, 0x3F07);
glEnable(GL_LINE_STIPPLE);
Next the book tells me that there is a wonderfull library "glut" but I can't seem to include this library with my blitzcode because blitzmax won't let the file be included.
To make stippled (dotted or dashed) lines, you use the command glLineStipple() to define the stipple pattern, and then you enable line stippling with glEnable().
First, the Red Book tells me that I need to use odd values for the stippled line values. I cannot enter the line that follows without the interperater throwing an error because it cannot understand "0x3f07". I have tried casting it but this does not produce the desired line.
glLineStipple(1, 0x3F07);
glEnable(GL_LINE_STIPPLE);
Next the book tells me that there is a wonderfull library "glut" but I can't seem to include this library with my blitzcode because blitzmax won't let the file be included.