I have a very basic geometry renderer that I’m working on:
Basically the window is opened a background drawn and an XYZ tetrahedron is displayed.
After that as the user measures geometry the window should update the view to add the new geometry to the existing view. basic lines, circle, points,cones etc:
The problem I’m running into is that no mater what I can not get the window to update and show the new data.
This should be simple but I’m stumpted
glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT);
glRotated(AX, 1.0, 0.0, 0.0);
glRotated(AY, 0.0, 1.0, 0.0);
and the draw line function:
glColor3f(1.0, 1.0, 0.0);
Simple enough but the draw line function never shows anything in the window