27#ifndef SN_CONVX_ALIGN_H
28#define SN_CONVX_ALIGN_H
30namespace physx {
namespace Sn {
31 #define ALIGN_DEFAULT 16
32 #define ALIGN_FILE 128
34 PX_INLINE PxU32 getPadding(
size_t value, PxU32 alignment)
36 const PxU32 mask = alignment-1;
37 const PxU32 overhead = PxU32(value) & mask;
38 return (alignment - overhead) & mask;
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39