Add haddocks and/or cleanup
This commit is contained in:
@@ -14,7 +14,7 @@ crIsArmouredFrom p cr
|
||||
-- even though angleVV can generate NaN, the comparison seems to deal with it
|
||||
|
||||
crOnSeg :: Point2 -> Point2 -> Creature -> Bool
|
||||
crOnSeg p1 p2 cr = circOnLine p1 p2 (_crPos cr) (_crRad cr)
|
||||
crOnSeg p1 p2 cr = circOnSeg p1 p2 (_crPos cr) (_crRad cr)
|
||||
|
||||
crNearSeg :: Float -> Point2 -> Point2 -> Creature -> Bool
|
||||
crNearSeg d p1 p2 cr = circOnLine p1 p2 (_crPos cr) (_crRad cr + d)
|
||||
crNearSeg d p1 p2 cr = circOnSeg p1 p2 (_crPos cr) (_crRad cr + d)
|
||||
|
||||
Reference in New Issue
Block a user