Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Structs versus Vectors



> > Is it? If &v.x is a valid pointer to a float or double (this takes
> > care of any padding before the member), and the following members are
> > of the same type, why there would ever be padding between them?
> >
>
>  You could have hardware that required 4-byte floats to be 8-byte aligned.

Ah, right. Slipped through my mind.

Ignore my last email then :)

-- 
Aras Pranckevičius
work: http://unity3d.com
home: http://aras-p.info
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >Structs versus Vectors (From: Richard Somers <email@hidden>)
 >Re: Structs versus Vectors (From: "Wesley Smith" <email@hidden>)
 >Re: Structs versus Vectors (From: Jocelyn Houle <email@hidden>)
 >Re: Structs versus Vectors (From: "Nicolas Goy, Kuon" <email@hidden>)
 >Re: Structs versus Vectors (From: "Aras Pranckevicius" <email@hidden>)
 >Re: Structs versus Vectors (From: Rick Genter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.