SSE2: Align CVector

--HG--
branch : sse2
hg/feature/sse2
kaetemi 11 years ago
parent 8e8d6ac940
commit 9ad4da9127

@ -40,7 +40,11 @@ class CVectorPacked;
class NL_ALIGN_SSE2 CVector class NL_ALIGN_SSE2 CVector
{ {
public: // Attributes. public: // Attributes.
#ifdef NL_HAS_SSE2
union { struct { float x, y, z; }; __m128 mm; };
#else
float x,y,z; float x,y,z;
#endif
public: // const. public: // const.
/// Null vector (0,0,0). /// Null vector (0,0,0).

Loading…
Cancel
Save