Skip to content

Commit

Permalink
fix: To make cameraControll's down right
Browse files Browse the repository at this point in the history
  • Loading branch information
linlin committed Dec 17, 2018
1 parent 8fbcf7c commit 20833f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/cameraControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ class CameraControl extends Component {
}
if (front || back || left || right || up || down) {
if (down) {
panVy += elapsed * keyboardPanRate;
panVy += -elapsed * keyboardPanRate;
} else if (up) {
panVy -= -elapsed * keyboardPanRate;
}
Expand Down

0 comments on commit 20833f7

Please sign in to comment.