Re: Math.cos() problems
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 06 Dec 2007 09:23:04 GMT
On Wed, 05 Dec 2007 22:08:06 -0500, Brandon McCombs <none@xxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
x = rCos(angle) and y = rSin(angle)
cos and sin have no connection to screen co-ordinates. They work in
radians.
To do co-ordinate transformations, you don't normally need to do trig
directly. You use affine transforms.
See http://mindprod.com/jgloss/affinetransform.html
and http://mindprod.com/jgloss/coordinates.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- Math.cos() problems
- From: Brandon McCombs
- Math.cos() problems
- Prev by Date: Re: Multiple type bounds
- Next by Date: Re: The text editor "discussions"
- Previous by thread: Re: Math.cos() problems
- Next by thread: Re: Math.cos() problems
- Index(es):