Move towards serializing saves/loads faster
This commit is contained in:
@@ -212,9 +212,9 @@ soundAngle p w
|
||||
. radToDeg
|
||||
. normalizeAngle
|
||||
. (+ pi)
|
||||
$ argV (vNormal (p -.- earPos)) - _cameraRot (_cWorld w)
|
||||
$ argV (vNormal (p -.- earPos)) - _cwcRot (_cwCam (_cWorld w))
|
||||
where
|
||||
earPos = _cameraViewFrom (_cWorld w)
|
||||
earPos = w ^. cWorld . cwCam . cwcViewFrom
|
||||
|
||||
{- | Uses the first free origin from a list.
|
||||
Does nothing if all origins are already creating sounds.
|
||||
|
||||
Reference in New Issue
Block a user