Archived

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

kenki

Question about rotation

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
Guest
This topic is now closed to further replies.