From: Braden M. <br...@en...> - 2004-01-08 04:24:48
|
On Wed, 2004-01-07 at 11:00, Ricky Hussmann wrote: > After viewing the rotate method of the viewer class in > src/libopenvrml-gl/openvrml/gl/viewer.cpp file, I see > that the active viewpoint is changed by a series of > transformation to account for the rotation. > > However, at the end of the implementation I see that > the GL modelview matrix is retrieved, and the rotation > member is updated and rotation_changed is set to true. > What does this last section of code do? The viewpoint > is already modified, so does it just redraw the > current scene since it hasn't been redrawn yet? The post_redraw() call does that. The rest you mention is simply cruft. :-/ It's there to update the rotation and rotation_changed members; however, those appear not to be used anymore. So I've removed them--along with th crufty code you note--from CVS. Thanks for the spot. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |