Separate out concrete part of world
This commit is contained in:
@@ -146,9 +146,9 @@ soundAngle p w
|
||||
. radToDeg
|
||||
. normalizeAngle
|
||||
. (+ pi)
|
||||
$ argV (vNormal (p -.- earPos)) - _cameraRot w
|
||||
$ argV (vNormal (p -.- earPos)) - _cameraRot (_cWorld w)
|
||||
where
|
||||
earPos = _cameraViewFrom w
|
||||
earPos = _cameraViewFrom (_cWorld w)
|
||||
|
||||
{-| Uses the first free origin from a list.
|
||||
Does nothing if all origins are already creating sounds. -}
|
||||
|
||||
Reference in New Issue
Block a user