Thread: Mouse zoom
View Single Post
  #4  
Old 05-04-2012, 10:02 AM
kovitch kovitch is offline
Member
 
Join Date: Sep 2010
Posts: 30
Solved. Changing the Field of View is enough for my purposes.

For those who care:

Code:
def onMouseWheel(dir):
	if dir == 1:
		viz.fov(40,1.3333)
	else:
		viz.fov(70,1.3333)
viz.callback(viz.MOUSEWHEEL_EVENT,onMouseWheel)
Reply With Quote