View Single Post
  #7   Spotlight this post!  
Unread 22-09-2013, 14:41
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Converting Two joystick values into a vector

Quote:
Originally Posted by magnets View Post
Here's some more java examples
When stick1 = 1 and stick2 = -1, your code gives r = 2 and theta = 0.


Attached Thumbnails
Click image for larger version

Name:	r_theta.png
Views:	30
Size:	7.5 KB
ID:	15228