bruteforce diam works, rc (slope) doesnt
make a dot product unit directions version!
BF works, RC slope now works too!
RC dot doesnt quite work, loop sticks for some files. Doublecheck event ordering, direction update, dot product math, while condition (maybe add if end of..advance other).
RC dot now works for the provided testfiles!
Needs cleaning.
Should I provide a safeguard against infinite while RC loops?
Cleaned. Do some plot cosmetics.