Skip to content
Permalink
Browse files

Allow pressing alt as well to speed up the editor camera

  • Loading branch information...
Shinmera committed Aug 24, 2018
1 parent 8e2829b commit 61b2ff2643f5220957dd68a50bbd274feccfa148
Showing with 2 additions and 1 deletion.
  1. +2 −1 camera.lisp
@@ -142,7 +142,8 @@
(let* ((loc (location freeroam-camera))
(rot (rotation freeroam-camera))
(speed (* (move-speed freeroam-camera)
(if (retained 'key :left-shift) 4 1))))
(if (retained 'key :left-shift) 5 1)
(if (retained 'key :left-alt) 5 1))))
(cond ((retained 'key :a)
(decf (vx loc) (* speed (cos (vy rot))))
(decf (vz loc) (* speed (sin (vy rot)))))

0 comments on commit 61b2ff2

Please sign in to comment.
You can’t perform that action at this time.