- //hier kommen die Objekte hin
- glLineWidth(4); // die Linienbreite funktioniert nicht
- glbegin(gl_line_loop); // Linien als Objekt
- glcolor3f(1,0,0);
- glvertex3f(-0.5,0,-2);
- glcolor3f(0,1,0);
- glvertex(0,-0.5,-2);
- glcolor3f(1,1,0);
- glvertex3f(0.5,0.5,-2);
- glcolor3f(0,1,1);
- glvertex3f(0,0.5,-2);