Work on rocket/grenade launcher
This commit is contained in:
@@ -301,6 +301,7 @@ inSegArea a b c = param >= 0 && param <= dotV (b -.- a) (b -.- a)
|
||||
param = dotV (b -.- a) (c -.- a)
|
||||
|
||||
-- I suspect that this may not be correct...
|
||||
-- it should probably use closestPointOnSeg
|
||||
intersectCircSeg :: Point2 -> Float -> Point2 -> Point2 -> [Point2]
|
||||
intersectCircSeg c r a b
|
||||
| y < 0 = []
|
||||
|
||||
Reference in New Issue
Block a user