fix padding issue under Linux (where b3Vector3 is not 16-byte aligned)

w
This commit is contained in:
erwincoumans
2013-05-22 17:46:47 -07:00
parent 9365735a8f
commit ee5195d3e8
7 changed files with 76 additions and 48 deletions

View File

@@ -8,6 +8,8 @@ struct b3GpuFace
b3Vector4 m_plane;
int m_indexOffset;
int m_numIndices;
int m_unusedPadding1;
int m_unusedPadding2;
};
B3_ATTRIBUTE_ALIGNED16(struct) b3ConvexPolyhedronCL
@@ -61,4 +63,4 @@ B3_ATTRIBUTE_ALIGNED16(struct) b3ConvexPolyhedronCL
};
#endif //CONVEX_POLYHEDRON_CL
#endif //CONVEX_POLYHEDRON_CL