View Full Version : move object with a mouse

03-13-2002, 07:06 AM
can somebody tell me the code to move a 3d
object (among different objects on the screen) with a mouse? i am using MFC with OpenGL.
thanks in advance.

03-13-2002, 09:46 AM
Well, Depends on how strong the mouse is, viagra could help sometimes http://www.opengl.org/discussion_boards/ubb/smile.gif but I do not know the how effective viagra is on mice...


03-13-2002, 11:01 AM
This isn't an OpenGL topic but ill try to help anyways.

Just make a function to reassign all the vertices of a polygon to coords relative to the mouse.