Guest User

Untitled

a guest
Oct 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1.  
  2. theta = theta + 1
  3. phi = phi + 1
  4.  
  5. ltheta.Caption = theta
  6. lphi.Caption = phi
  7.  
  8.  
  9. translate_origin(1, 4) = -((r * Sin(phi)) * Sin(theta))
  10. translate_origin(2, 4) = -(r * Cos(phi))
  11. translate_origin(3, 4) = -((r * Sin(phi)) * Cos(theta))
  12.  
  13. rotate_y(1, 1) = Cos(-theta)
  14. rotate_y(1, 3) = Sin(-theta)
  15. rotate_y(3, 1) = -Sin(-theta)
  16. rotate_y(3, 3) = Cos(-theta)
  17.  
  18. rotate_x(2, 2) = Cos(90 - phi)
  19. rotate_x(2, 3) = -Sin(90 - phi)
  20. rotate_x(3, 2) = Sin(90 - phi)
  21. rotate_x(3, 3) = Cos(90 - phi)
Add Comment
Please, Sign In to add comment