How I can draw the blue line?
http://board.flashkit.com/board/atta...1&d=1271278658
Printable View
How I can draw the blue line?
http://board.flashkit.com/board/atta...1&d=1271278658
if you have normals of A and B pointing to one direction, then blue line direction will be (n(A) + n(B))/2
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)|
direction vector of line C