View Full Version : move object with a mouse
03-13-2002, 08: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, 10: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, 12:01 PM
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.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.