i’ve not used opengl for a very long time and i’ve troubles establishing a 2nd display screen the place the higher left window coordinates are 0,0 and the width and top of the window are the max x and max y opengl coordinates, in order that
glBegin(GL_LINES);
glVertex2i(0,0);
glVertex2i(800, 0);
glVertex2i(0,0);
glVertex2i(0, 600);
glEnd();
does draw one line on the top of the window and one which goes down from the highest. i discovered many examples for glOrtho(left, proper, backside, top, close to, far) however none explains what i want right here. I hope the query is to not trivial and you may assist me.
finest regards,
honeymoon