[PyOpenGL-Users] small bug: tkScale() and `distance' < 0
Brought to you by:
mcfletch
From: Maciej K. <ma...@dg...> - 2003-02-20 14:05:08
|
There's a small bug/feature in the Opengl class' tkScale() method. There is no guarantee that "0.01 * (event.y - self.ymouse)" will be < 1... in fact, if you move the mouse fast enough, it is possible for it to be larger than 1, giving `scale' < 0. This causes the eye point to whip past the centerpoint (i.e., the point being looked at) and look at it from behind. -- "A friend to all is a friend to none." -- Aristotle |