Archived

This topic is now archived and is closed to further replies.

Question about rotation

This topic is 5517 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m currently working on a program that will allow editing of 3d-models with the mouse. So I was wondering if someone could give advice as to how one knows how much to rotate for a line to point to whare the mouse is (hope this makes sense). The purpose of this is that one could "grab" the vertex of a line and rotate it around the line''s other vertex. I''m not too sure about rotation-matrices and things, so I really don''t know how to do this. Also, the program needs to do it with glRotatef. So no just moving the point. I need to know in what way and how much to glRotatef. Any help is welcome and duly thanked in advance.

Share this post


Link to post
Share on other sites

This topic is 5517 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.