Advertisement

Drawing lines interactively with the mouse cursor

Started by April 26, 2001 07:29 AM
0 comments, last by ogl 23 years, 7 months ago
Hi, how could I draw lines around objects in the scene using the mouse cursor - I know it is not entirely opengl - you need to use windows commands and I can do it using the gdi but I need it for opengl - any code / ideas? cheers thanx
depends on how many lines u wanna draw if its less than say 10000 ild just keep track of them like LINE[1](ptA->ptB). if its more ill keep an array of the whole screen and just fill that in as you go

http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement