Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = normalize(V2-V1);
- b = normalize(V2-V3);
- halfang = acos(dot(a, b))/2.;
- // skip center if you iuse splines
- C = V2 - r / sin(halfang) * normalize((a+b)/2);
- A = V2 - r/tan(halfang)*a;
- B = V2 - r/tan(halfang)*b;
Add Comment
Please, Sign In to add comment