View Full Version : move object with a mouse
adityask
03-13-2002, 07:06 AM
hello,
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.
---aditya
Sundy
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...
-Sundar
iNsaNEiVaN
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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.