diff options
| author | sschirm <[email protected]> | 2016-12-23 14:20:36 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2016-12-23 14:56:17 +0100 |
| commit | ef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch) | |
| tree | 710426e8daa605551ce3f34b581897011101c30f /PhysX_3.4/Source/PhysX/src/NpActor.cpp | |
| parent | Initial commit: (diff) | |
| download | physx-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/PhysX/src/NpActor.cpp')
| -rw-r--r-- | PhysX_3.4/Source/PhysX/src/NpActor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PhysX_3.4/Source/PhysX/src/NpActor.cpp b/PhysX_3.4/Source/PhysX/src/NpActor.cpp index 940c1dc8..69b49f12 100644 --- a/PhysX_3.4/Source/PhysX/src/NpActor.cpp +++ b/PhysX_3.4/Source/PhysX/src/NpActor.cpp @@ -429,13 +429,13 @@ void NpActor::getGlobalPose(PxTransform& globalPose, const Scb::Shape& scbShape, // PT: TODO: duplicated from SqBounds.cpp. Refactor. const ScbType::Enum actorType = scbActor.getScbType(); - if(actorType==ScbType::RIGID_STATIC) + if(actorType==ScbType::eRIGID_STATIC) { Cm::getStaticGlobalPoseAligned(static_cast<const Scb::RigidStatic&>(scbActor).getActor2World(), shape2Actor, globalPose); } else { - PX_ASSERT(actorType==ScbType::BODY || actorType == ScbType::BODY_FROM_ARTICULATION_LINK); + PX_ASSERT(actorType==ScbType::eBODY || actorType == ScbType::eBODY_FROM_ARTICULATION_LINK); const Scb::Body& body = static_cast<const Scb::Body&>(scbActor); PX_ALIGN(16, PxTransform) kinematicTarget; |