Re: Group CGAffineTransform Animations?
Re: Group CGAffineTransform Animations?
- Subject: Re: Group CGAffineTransform Animations?
- From: Kyle Sluder <email@hidden>
- Date: Wed, 17 Jun 2009 09:31:04 -0700
On Wed, Jun 17, 2009 at 9:14 AM, Gordon Apple<email@hidden> wrote:
> IMHO, matrix operations are one of the most confusing and cumbersome
> aspects of Cocoa. Every time I use them, I end up trying most combinations
> until I get the desired result. C++ doesn't have this problem. You can
> simply write the matrix equations and be done with it. I love Objective C,
> but operator overloading (and ctors/dtors) are the things I miss most.
> Multiple inheritance -- not so much.
This isn't a C++/ObjC issue. Whatever matrix library you were using
under C++ happened to define matrix multiplication in such a way that
it performed the operations in reverse order. XNA, on the other hand,
follows the same pattern as Cocoa, even though it's written in C# and
therefore has operator overloading.
The AppKit team could very easily have implemented NSAffineTransform
to transparently define a stack. But they didn't. Neither did the
OpenGL people, or the XNA people. But it's not a language issue.
--Kyle Sluder
_______________________________________________
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