(iRen,ren)
| 75 | |
| 76 | # Left mouse button is pan |
| 77 | def mouseLeftMove(iRen,ren): |
| 78 | getMotion(iRen,ren) |
| 79 | cam.SetFocalPoint(fpW[0]+motionW[0],fpW[1]+motionW[1],fpW[2]+motionW[2]) |
| 80 | cam.SetPosition(posW[0]+motionW[0],posW[1]+motionW[1],posW[2]+motionW[2]) |
| 81 | iRen.Render() |
| 82 | |
| 83 | # Mouse middle button up/down is elevation, and left and right is azimuth |
| 84 | def mouseMiddleMove(iRen,ren): |
no test coverage detected