Remove parallelization of pokeTopPrism
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{-# LANGUAGE BangPatterns #-}
|
||||
module Dodge.ShiftPoint where
|
||||
import Geometry
|
||||
|
||||
shiftPointBy :: (Point2,Float) -> Point2 -> Point2
|
||||
shiftPointBy (pos,rot) p = pos +.+ rotateV rot p
|
||||
shiftPointBy (pos,rot) !p = pos +.+ rotateV rot p
|
||||
|
||||
invShiftPointBy :: (Point2,Float) -> Point2 -> Point2
|
||||
invShiftPointBy (p1,r) p2 = rotateV (-r) $ p2 -.- p1
|
||||
|
||||
Reference in New Issue
Block a user