• 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: 3-float struct?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: 3-float struct?
      • From: Mike Abdullah <email@hidden>
References: 
 >3-float struct? (From: Dave DeLong <email@hidden>)
 >Re: 3-float struct? (From: Benjamin Dobson <email@hidden>)

  • Prev by Date: Re: 3-float struct?
  • Next by Date: Re: Debugger launched after closing the app window.
  • Previous by thread: Re: 3-float struct?
  • Next by thread: Re: 3-float struct?
  • Index(es):
    • Date
    • Thread