C language function:glOrtho sample codes

Search sample code in the internet.It is the result.


TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glOrtho( 0,300,300,0,0.0f,100.0f);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html


TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glOrtho( 0,context_width,context_height,0,0.0f,100.0f);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
search Google

https://www.google.com/#q=glOrtho