I'm new with OpenGL and I read codes from different sources. I don't understand what function provide the change of object size with window.
Code 1 -> http://codepad.org/1kSTAMOF
Code 2 -> http://codepad.org/Gs7CeBW2
math3d header for Code 2 ->http://codepad.org/Ptz3XBkp
Code 3 ->http://codepad.org/rFMWUktw
For example; the Code 1 and Code 2 create triangles and their sizes change with window size. However the Code 3 creates lines and their sizes doesn't change with changing window size. I don't understand which line of codes provide these properties and what must I do for provide same property for Code 3?(I couldn't share all links as link format because I'm not allowed)