Commit e93fa853 authored by Taddeus Kroes's avatar Taddeus Kroes

Converted 'Roll' parameter to degrees.

parent 530c6a5f
import vtk import vtk
from math import degrees
from threading import Thread from threading import Thread
from objreader import read_obj from objreader import read_obj
...@@ -42,7 +43,7 @@ class MultitouchInteractor(): ...@@ -42,7 +43,7 @@ class MultitouchInteractor():
self.camera = camera self.camera = camera
def on_rotate(self, event): def on_rotate(self, event):
self.camera.Roll(event.angle) self.camera.Roll(degrees(event.angle))
def on_pinch(self, event): def on_pinch(self, event):
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment