Guest User

Untitled

a guest
Nov 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. a = normalize(V2-V1);
  2. b = normalize(V2-V3);
  3. halfang = acos(dot(a, b))/2.;
  4. // skip center if you iuse splines
  5. C = V2 - r / sin(halfang) * normalize((a+b)/2);
  6. A = V2 - r/tan(halfang)*a;
  7. B = V2 - r/tan(halfang)*b;
Add Comment
Please, Sign In to add comment