File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Manipulators/VRButtonPanManipulator
Style/InteractorStyleTrackballCamera Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function vtkVRButtonPanManipulator(publicAPI, model) {
43
43
const speed = data . gamepad . axes [ 1 ] ;
44
44
45
45
// 0.05 meters / frame movement
46
- const pscale = ( speed * 0.05 ) / camera . getPhysicalScale ( ) ;
46
+ const pscale = speed * 0.05 * camera . getPhysicalScale ( ) ;
47
47
48
48
// convert orientation to world coordinate direction
49
49
const dir = camera . physicalOrientationToWorldDirection ( data . orientation ) ;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ function vtkInteractorStyleTrackballCamera(publicAPI, model) {
94
94
const speed = ed . gamepad . axes [ 1 ] ;
95
95
96
96
// 0.05 meters / frame movement
97
- const pscale = ( speed * 0.05 ) / camera . getPhysicalScale ( ) ;
97
+ const pscale = speed * 0.05 * camera . getPhysicalScale ( ) ;
98
98
99
99
// convert orientation to world coordinate direction
100
100
const dir = camera . physicalOrientationToWorldDirection ( ed . orientation ) ;
You can’t perform that action at this time.
0 commit comments