On the 2nd thought, you can also do this with direction vectors themselves. Assuming you know some two points on A and B, you have d(A) = (A - O)/|A - O| and d(B) = (B - O)/|B - O|, then d(C) = (d(A) + d(B)) / |d(A) + d(B)|
On the 2nd thought, you can also do this with direction vectors themselves. Assuming you know some two points on A and B, you have d(A) = (A - O)/|A - O| and d(B) = (B - O)/|B - O|, then d(C) = (d(A) + d(B)) / |d(A) + d(B)|