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
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
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
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
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
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
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
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
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.
9 matches
Mail list logo