fix padding issue under Linux (where b3Vector3 is not 16-byte aligned)
w
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user