Skip to content
Permalink
Browse files

allow slow movement in editor camera

  • Loading branch information...
Shinmera committed Mar 24, 2019
1 parent 6e697f0 commit 28d12c46c3ab36d006d7e011c5310afc96fd4d84
Showing with 1 addition and 1 deletion.
  1. +1 −1 camera.lisp
@@ -143,7 +143,7 @@
(rot (rotation freeroam-camera))
(speed (* (move-speed freeroam-camera)
(if (retained 'key :left-shift) 5 1)
(if (retained 'key :left-alt) 5 1))))
(if (retained 'key :left-alt) 1/5 1))))
(cond ((retained 'key :a)
(decf (vx loc) (* speed (cos (vy rot))))
(decf (vz loc) (* speed (sin (vy rot)))))

0 comments on commit 28d12c4

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