Work on geometry shader based shadows

This commit is contained in:
2023-03-11 22:59:19 +00:00
parent 5724a0543e
commit 7ee3f6581d
18 changed files with 235 additions and 144 deletions
+4 -2
View File
@@ -4,6 +4,8 @@ import Dodge.Data.Input
import LensHelp
updateScrollTestValue :: Input -> Input
updateScrollTestValue theinput = theinput & scrollTestValue +~ theamount
updateScrollTestValue theinput = theinput & scrollTestFloat +~ theamount
& scrollTestInt +~ i
where
theamount = fromIntegral (theinput ^. scrollAmount) / 100
i = theinput ^. scrollAmount
theamount = fromIntegral i / 100