(iRen,ren)
| 97 | # Right mouse button is rotate (left/right movement) and zoom in/out (up/down |
| 98 | # movement) |
| 99 | def mouseRightMove(iRen,ren): |
| 100 | getMotion(iRen,ren) |
| 101 | if abs(motionD[0]) > abs(motionD[1]): |
| 102 | cam.Azimuth(-2.0*motionD[0]) |
| 103 | else: |
| 104 | cam.Zoom(1 + motionD[1]/100.0) |
| 105 | iRen.Render() |
| 106 | |
| 107 | # Mouse scroll wheel is zoom in/out |
| 108 | def mouseWheelForward(iRen,ren): |