Simplify analyser machines somewhat
This commit is contained in:
@@ -57,4 +57,4 @@ screenBox w = rectNSWE hh (- hh) (- hw) hw
|
||||
hh = halfHeight w
|
||||
|
||||
pointIsOnScreen :: Config -> Camera -> Point2 -> Bool
|
||||
pointIsOnScreen cfig w p = pointInPolygon p $ screenPolygon cfig w
|
||||
pointIsOnScreen cfig = flip pointInPoly . screenPolygon cfig
|
||||
|
||||
Reference in New Issue
Block a user