Original Post
If I write a Vector3 class and declare the x,y,z members as _declspec(allign_16) (I might have got the syntax wrong there). Do member functions count towards data size? I want to have a dot product, and a cross product, and some other utility functions. Would I have to make sure the functions were aligned as well? And also, how do you make vectors take advantage of SIMD?