Re: [Algorithms] How to get 3dvector largest coordinate index?
Brought to you by:
vexxed72
From: Conor S. <bor...@ya...> - 2009-03-05 03:39:38
|
Unions are for variants (and trix are for kids!). They can be used to implement tagged variant types and even full algebraic data types (if you put a union inside of another construct), as well as the lower level uses (such as saving storage space, usually through some sort of implicit tagging). Cheers, Conor ________________________________ From: Jeff Russell <je...@8m...> To: Game Development Algorithms <gda...@li...> Sent: Thursday, 5 March, 2009 11:33:32 AM Subject: Re: [Algorithms] How to get 3dvector largest coordinate index? if cast-through-union violates the standard, then why are unions in the language? isn't storing bytes and interpreting them as different types what unions are for? Stay connected to the people that matter most with a smarter inbox. Take a look http://au.docs.yahoo.com/mail/smarterinbox |