Remove parallelization of pokeTopPrism
This commit is contained in:
@@ -121,8 +121,9 @@ placeSpotID ps pt w = case pt of
|
||||
doShift = shiftPointBy (p,rot)
|
||||
|
||||
placeShape :: Shape -> Point2 -> Float -> World -> (Int, World)
|
||||
placeShape sh p rot w =
|
||||
(0, w & foregroundShape %~ ((uncurryV translateSHf p . rotateSH rot) sh <>))
|
||||
placeShape sh p rot w = (0, w & foregroundShape %~ (newsh <>))
|
||||
where
|
||||
newsh = (uncurryV translateSHf p . rotateSH rot) sh
|
||||
|
||||
evaluateRandPS :: State StdGen PSType -> PlacementSpot -> World -> (Int,World)
|
||||
evaluateRandPS rgen ps w = placeSpotID ps evaluatedType (set randGen g w)
|
||||
|
||||
Reference in New Issue
Block a user