Drawing lines interactively with the mouse cursor

Started by
0 comments, last by ogl 22 years, 11 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
Advertisement
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