• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Group CGAffineTransform Animations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Group CGAffineTransform Animations?
      • From: Chunk 1978 <email@hidden>
References: 
 >Re: Group CGAffineTransform Animations? (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Group CGAffineTransform Animations?
  • Next by Date: Re: get ref to instance from IB
  • Previous by thread: Re: Group CGAffineTransform Animations?
  • Next by thread: Re: Group CGAffineTransform Animations?
  • Index(es):
    • Date
    • Thread