On 17/06/2009, at 7:37 PM, Chunk 1978 wrote:

it seems to work find, but is this the most ideal way of doing this?


Yes, it's the correct way to do it.

If you read the article that Jean linked on Wikipedia, you would see what's going on. A transform is just a matrix, and a concatenation is just a matrix multiply, so you are doing an operation like m1 x m2 x m3. However, do note that in matrix maths, (m1 x m2) is not the same as (m2 x m1) as it is in scalar maths (i.e. it's not commutative), so the order of operations matters. If you don't get the outcome you expected, this is usually the reason for it.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to