From ef6937e69e8ee3f409cf9d460d5ad300a65d5924 Mon Sep 17 00:00:00 2001 From: sschirm Date: Fri, 23 Dec 2016 14:20:36 +0100 Subject: PhysX 3.4 / APEX 1.4 release candidate @21506124 --- PhysX_3.4/Source/PhysX/src/buffering/ScbCloth.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'PhysX_3.4/Source/PhysX/src/buffering/ScbCloth.cpp') diff --git a/PhysX_3.4/Source/PhysX/src/buffering/ScbCloth.cpp b/PhysX_3.4/Source/PhysX/src/buffering/ScbCloth.cpp index ecee8baa..7aaf9f83 100644 --- a/PhysX_3.4/Source/PhysX/src/buffering/ScbCloth.cpp +++ b/PhysX_3.4/Source/PhysX/src/buffering/ScbCloth.cpp @@ -38,21 +38,17 @@ using namespace physx; Scb::Cloth::Cloth(const PxTransform& globalPose, Sc::ClothFabricCore& fabric, const PxClothParticle* particles, PxClothFlags flags) : mCloth(globalPose, fabric, particles, flags) { - setScbType(ScbType::CLOTH); + setScbType(ScbType::eCLOTH); } - Scb::Cloth::~Cloth() { } - void Scb::Cloth::syncState() { - if (getBufferFlags()) // Optimization to avoid all the if-statements below if possible - { + if(getBufferFlags()) // Optimization to avoid all the if-statements below if possible Actor::syncState(); - } postSyncState(); } -- cgit v1.2.3