Advertisement
Guest User

Untitled

a guest
May 29th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. PointF vec1 = new PointF(a*(point[1].x-point[0].x), a*(point[1].y-point[0].y));
  2. PointF vec2 = new PointF(b*(point[2].x-point[0].x), b*(point[2].y-point[0].y));
  3.  
  4. return new PointF(point[0].x+vec1.x+vec2.x, point[0].y+vec1.y+vec2.y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement