Start to generalise text input to "terminal signal" input
This commit is contained in:
@@ -163,9 +163,9 @@ soundAngle p w
|
||||
. radToDeg
|
||||
. normalizeAngle
|
||||
. (+ pi)
|
||||
$ argV (vNormal (p -.- earPos)) - (w ^. cWorld . cwCamPos . camRot)
|
||||
$ argV (vNormal (p -.- earPos)) - (w ^. cWorld . cwCam . camRot)
|
||||
where
|
||||
earPos = w ^. cWorld . cwCamPos . camViewFrom
|
||||
earPos = w ^. cWorld . cwCam . camViewFrom
|
||||
|
||||
{- | Uses the first free origin from a list.
|
||||
Does nothing if all origins are already creating sounds.
|
||||
|
||||
Reference in New Issue
Block a user