rectangle drawing using OpenGL [modified]
-
Hello, i am totally new to OpenGL or windows programming in general. can someone please provide me with some code or tell me how to draw a rectangular clipping window on mouse move with only 2 vertices. So if i click somewehre in upper part of the window and then lower i should get a rectangle which is NOT filled and has dashed lines. i am going to use this rectangle for clipping. thanks
modified on Friday, February 27, 2009 12:23 AM
-
Hello, i am totally new to OpenGL or windows programming in general. can someone please provide me with some code or tell me how to draw a rectangular clipping window on mouse move with only 2 vertices. So if i click somewehre in upper part of the window and then lower i should get a rectangle which is NOT filled and has dashed lines. i am going to use this rectangle for clipping. thanks
modified on Friday, February 27, 2009 12:23 AM
-
Hello, i am totally new to OpenGL or windows programming in general. can someone please provide me with some code or tell me how to draw a rectangular clipping window on mouse move with only 2 vertices. So if i click somewehre in upper part of the window and then lower i should get a rectangle which is NOT filled and has dashed lines. i am going to use this rectangle for clipping. thanks
modified on Friday, February 27, 2009 12:23 AM