Refactor window size, update selection cursor on new screen

This commit is contained in:
2023-03-25 09:27:27 +00:00
parent 20c05be23f
commit ea0c942887
57 changed files with 346 additions and 310 deletions
+2 -2
View File
@@ -163,9 +163,9 @@ soundAngle p w
. radToDeg
. normalizeAngle
. (+ pi)
$ argV (vNormal (p -.- earPos)) - (w ^. cWorld . camPos . camRot)
$ argV (vNormal (p -.- earPos)) - (w ^. cWorld . cwCamPos . camRot)
where
earPos = w ^. cWorld . camPos . camViewFrom
earPos = w ^. cWorld . cwCamPos . camViewFrom
{- | Uses the first free origin from a list.
Does nothing if all origins are already creating sounds.