One correction:
_____
Anthony Pace wrote:
> Point (x, y) for a spin
// result_x = Math.cos (a) * x Math.sin (a) * y;
result_x = Math.cos (a) * x - Math.sin (a) * y;
> result_y = Math.sin (a) * x + Math.cos (a) * y;
> ? a in radians

The rotation matrix represents these formulas:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/images/matrix_rotate.jpg

The figure in Flash CS4 Help is incorrect, though. I added comment to correct it.
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Matrix.html

Good luck,
--
Fumio Nonaka
mailto:[email protected]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to