Re: 3-float struct?
Re: 3-float struct?
- Subject: Re: 3-float struct?
- From: Dave DeLong <email@hidden>
- Date: Sun, 07 Dec 2008 13:19:56 -0700
Of course you could. But it's not uncommon to need a 3 dimensional
coordinate, so we were just wondering if there's one built in.
Obviously 2 dimensional coordinates are everywhere, and as such the
appropriate struct is included in the frameworks. We were thinking
that with 3 dimensional graphics becoming more and more common, there
might be one built in already.
Dave
On 7 Dec, 2008, at 1:11 PM, Benjamin Dobson wrote:
On 7 Dec 2008, at 18:46:18, Dave DeLong wrote:
Hi everyone,
I was asked yesterday if there's a struct in Cocoa that has 3 float
members. The person asking me was looking for a struct that could
contain a 3 dimensional point (so like a CG- or NSPoint, but with a
z member).
My quick searches didn't reveal anything, but I was wondering if
any of you knew of one.
Thanks,
Dave
Surely you could define one of your own?
_______________________________________________
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