Work on chasm rooms
This commit is contained in:
@@ -68,7 +68,7 @@ diagonalLinesRect pa pb w d ang = zip lhsPoints $ map findDiPoint lhsPoints
|
||||
findDiPoint p =
|
||||
head . sortOn (dist p) $
|
||||
catMaybes
|
||||
[ intersectLineLine' p (p +.+ diVec) pax pbx
|
||||
[ intersectLineLine p (p +.+ diVec) pax pbx
|
||||
, intersectSegLine pa pax p (p +.+ diVec)
|
||||
, intersectSegLine pb pbx p (p +.+ diVec)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user