aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h
diff options
context:
space:
mode:
authorsschirm <[email protected]>2016-12-23 14:20:36 +0100
committersschirm <[email protected]>2016-12-23 14:56:17 +0100
commitef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch)
tree710426e8daa605551ce3f34b581897011101c30f /PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h
parentInitial commit: (diff)
downloadphysx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.tar.xz
physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.zip
PhysX 3.4 / APEX 1.4 release candidate @21506124
Diffstat (limited to 'PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h')
-rw-r--r--PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h b/PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h
index beab7ee4..3d27313a 100644
--- a/PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h
+++ b/PhysX_3.4/Source/PhysXCharacterKinematic/src/CctController.h
@@ -74,8 +74,9 @@ namespace Cct
mManager = cm;
mCctModule.setCctManager(cm);
}
- CharacterControllerManager* getCctManager() { return mManager; }
+ PX_FORCE_INLINE CharacterControllerManager* getCctManager() { return mManager; }
+ PX_FORCE_INLINE PxU64 getContextId() const { return PxU64(reinterpret_cast<size_t>(mScene)); }
PxControllerShapeType::Enum mType;
// User params