SweepAndPrune:
One dimensional sweep and prune
edges: Array<Edge$1>
objects: Map<GameObj, [Edge$1, Edge$1]>
add(obj: GameObj): void
Add the object and its edges to the list
param
objThe object to add
remove(obj: GameObj): void
Remove the object and its edges from the list
param
objThe object to remove
clear(): void
update(): void
Update edges and sort