• 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: Visualization strategy/choosing a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visualization strategy/choosing a framework


  • Subject: Re: Visualization strategy/choosing a framework
  • From: "E. Wing" <email@hidden>
  • Date: Tue, 6 Jan 2009 00:45:49 -0800

> Off to do some refactoring of my Swarm class; at the risk of spawning a
> tangent, am I just completely missing a Cocoa data structure that's suited
> to matrices of scalar values? I had a working implementation using nested
> NSMutableArrays, but the code wound up looking disgusting (my fault, not the
> API's ;-), so I rewrote it with good ol' C arrays, malloc, and free. It has
> no leaks now, and is really, really fast, but I feel like I shouldn't have
> to reinvent the wheel in order to do matrix operations.

Core Animation provides CATransform3D and a few functions for
manipulating the 4x4 matrix (see CATransform3D.h). However, it is
fairly limited. As you fear, most OpenGL work ends up reinventing this
(usually in C++) . I recommend you find an open source one to your
liking and use it.

-Eric
_______________________________________________

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

References: 
 >Visualization strategy/choosing a framework (From: "Adam Foltzer" <email@hidden>)
 >Re: Visualization strategy/choosing a framework (From: Andrew Farmer <email@hidden>)
 >Re: Visualization strategy/choosing a framework (From: "Adam Foltzer" <email@hidden>)

  • Prev by Date: Re: Odd EXEC_BAD_ACCESS after executing URLRequest
  • Next by Date: Re: Basic: How to go about implementing such a view?
  • Previous by thread: Re: Visualization strategy/choosing a framework
  • Next by thread: Re: Visualization strategy/choosing a framework
  • Index(es):
    • Date
    • Thread