Re: [Flashcoders] Find point after rotation

2006-10-05 Thread Mark Winterhalder
TECTED]> To: "Flashcoders mailing list" Sent: Wednesday, October 04, 2006 7:19 PM Subject: Re: [Flashcoders] Find point after rotation >> Lets say I have a rectangle (height > width). I need to know the bottom >> middle point. That would be point(clipWidth / 2, clipH

Re: [Flashcoders] Find point after rotation

2006-10-05 Thread Jason C Reynolds
ted!!! - Original Message - From: "Mark Winterhalder" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, October 04, 2006 7:19 PM Subject: Re: [Flashcoders] Find point after rotation Lets say I have a rectangle (height > width). I need to kn

Re: [Flashcoders] Find point after rotation

2006-10-05 Thread Jason C Reynolds
erhalder" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, October 04, 2006 7:19 PM Subject: Re: [Flashcoders] Find point after rotation Lets say I have a rectangle (height > width). I need to know the bottom middle point. That would be point(clipWi

Re: [Flashcoders] Find point after rotation

2006-10-04 Thread Michael Bedar
if you are trying to find the midpoint of the bottom, you could use the midpoint formula instead of using the rotation.. would be faster.. On Oct 4, 2006, at 5:55 PM, Jason C Reynolds wrote: Hi, having some math problems... hoping someone can help Lets say I have a rectangle (height

Re: [Flashcoders] Find point after rotation

2006-10-04 Thread Zeh Fernando
orry, I'm s rusty with math and hoping someone can push me in the right direction. Right now I'm trying to figure out the radius of the 'circle' that is formed while rotating, but that isn't going anywhere (fast anway). Just to kinda repeat what everybody has said -- You could easily find

Re: [Flashcoders] Find point after rotation

2006-10-04 Thread Mark Winterhalder
Lets say I have a rectangle (height > width). I need to know the bottom middle point. That would be point(clipWidth / 2, clipHeight). So we'll say: var x = clipWidth / 2; var y = clipHeight; Closest I've gotten is using: x=ClipWidth / 2 + Math.cos(angle) y=ClipWidth / 2 - Math.sin(angle) Th

RE: [Flashcoders] Find point after rotation

2006-10-04 Thread Arva, Adrian
Wednesday, October 04, 2006 4:59 PM Subject: RE: [Flashcoders] Find point after rotation The _width and _height change based on the rotation so don't use the stored _width and _height and instead use the current _width and _height. That is, unless you're trying to keep track of that ex

Re: [Flashcoders] Find point after rotation

2006-10-04 Thread Jason C Reynolds
October 04, 2006 4:59 PM Subject: RE: [Flashcoders] Find point after rotation The _width and _height change based on the rotation so don't use the stored _width and _height and instead use the current _width and _height. That is, unless you're trying to keep track of that exact point on

RE: [Flashcoders] Find point after rotation

2006-10-04 Thread Steven Sacks | BLITZ
The _width and _height change based on the rotation so don't use the stored _width and _height and instead use the current _width and _height. That is, unless you're trying to keep track of that exact point on the rectangle after you rotate it, then that's something more complex.