code_junkie

Bezier clipping

Nov 11th, 2011
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. 0 = bezier1(t1).x - bezier2(t2).x;
  2.  
  3. 0 = bezier1(t1).x - bezier2(t2).x;
  4. 0 = bezier1(t1).y - bezier2(t2).y;
  5.  
  6. bezier(t).x = a.x * t^3 + b.x * t^2 + c.x * t + d.x;
  7.  
  8. | a.x b.x c.x d.x 0 0 |
  9. | 0 a.x b.x c.x d.x 0 |
  10. | 0 0 a.x b.x c.x d.x |
  11. | a.y b.y c.y d.y 0 0 |
  12. | 0 a.y b.y c.y d.y 0 |
  13. | 0 0 a.y b.y c.y d.y |
Add Comment
Please, Sign In to add comment