29#ifndef GU_ACTOR_SHAPE_MAP_H
30#define GU_ACTOR_SHAPE_MAP_H
32#include "common/PxPhysXCommonConfig.h"
33#include "foundation/PxSimpleTypes.h"
34#include "foundation/PxHashMap.h"
40 typedef PxU64 ActorShapeData;
42 #define PX_INVALID_INDEX 0xffffffff
50 PX_PHYSX_COMMON_API
bool add(PxU32 actorIndex,
const void* actor,
const void* shape, ActorShapeData actorShapeData);
51 PX_PHYSX_COMMON_API
bool remove(PxU32 actorIndex,
const void* actor,
const void* shape, ActorShapeData* removed);
52 PX_PHYSX_COMMON_API ActorShapeData find(PxU32 actorIndex,
const void* actor,
const void* shape)
const;
64 return mActor == p.mActor && mShape == p.mShape;
79 void resizeCache(PxU32 index);
Definition GuActorShapeMap.h:45
Definition PxHashMap.h:78
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition GuActorShapeMap.h:55
Definition GuContactMethodImpl.h:67