Re: Any Good Core Animation Tutorials?
Re: Any Good Core Animation Tutorials?
- Subject: Re: Any Good Core Animation Tutorials?
- From: Graham Cox <email@hidden>
- Date: Wed, 17 Jun 2009 01:34:10 +1000
On 17/06/2009, at 1:27 AM, Chunk 1978 wrote:
so is CGAffineTransform considered Cocoa Animation, while
CATransform3D is Core Animation? but they essentially do the same
thing? just trying to get things straight.
Not sure what you mean by Cocoa Animation.
CGAffineTransform is a Core GRAPHICS structure, as its 'CG' prefix
suggests. That is a strictly 2D technology, so the matrix used is 3x3.
CATransform3D is used by Core Animation (CALayer, etc) which is a 3D
technology, so the matrix it uses is 4x4.
So they are not the same thing, though they perform the equivalent
task of transforming co-ordinates, the first in 2 dimensions, the
second in 3. In Core Animation, you use a CATransform3D to perform
translation, scaling and rotation of objects in 3 dimensions.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden