rotating objects around given line
if one wants to rotate objects around specified line in the space, one will have to gine two different points lying on that line. what is equivalent to giving normalized vector in the space. in OpenGl there are two ways of doing this :
1. transform coordinate system, so that one of its axis coincides with rotatation line. aftewards one will rotate object around selected axis, one that is coincide with rotation line
2. transform whole object, so that rotation can be realized without transforming the coordinate system
[read more]
1