Add file
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
module Dodge.Camera where
|
||||
|
||||
import Dodge.Data.Universe
|
||||
import Control.Lens
|
||||
|
||||
useNormalCamera :: Universe -> Universe
|
||||
useNormalCamera = uvWorld . wCam . camControl .~ CamInGame
|
||||
|
||||
pauseAndFloatCam :: Universe -> Universe
|
||||
pauseAndFloatCam = uvWorld . wCam . camControl .~ CamFloat
|
||||
|
||||
pauseAndPanCam :: Universe -> Universe
|
||||
pauseAndPanCam = uvWorld . wCam . camControl .~ CamPan
|
||||
Reference in New Issue
Block a user