Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #macro suavizar(P, N, i)
  2.     // suaviza a juntaentre o arco i e o arco j =  mod(i+1, N)
  3.     #local j = mod(i+1, N);
  4.     #local vv = (P[j][1] - P[i][2])/2;
  5.     #declare P[i][2] = P[i][3] - vv;
  6.     #declare P[j][1] = P[j][0] + vv;
  7. #end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement