Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c = (-y, x)
- d = ( y,-x)
- // normal
- nx = Px-Cx
- ny = Py-Cy
- // tangent 1
- tx = -ny
- ty = +nx
- // tangent 2
- tx = +ny
- ty = -nx
- // normal
- nx = (Px-Cx)/a
- ny = (Py-Cy)/a
- // tangent 1
- tx = -ny
- ty = +nx
- // tangent 2
- tx = +ny
- ty = -nx
Add Comment
Please, Sign In to add comment