diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-04-25 16:02:08 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-04-25 16:02:08 -0500 |
| commit | d11708e398c2f6377d9eac2b1f7248c62faab569 (patch) | |
| tree | 5778e794690c046ab4b0205d8f764960a5af168b /PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp | |
| parent | PhysX 3.4, APEX 1.4 patch release @21821222 (diff) | |
| download | physx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.tar.xz physx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.zip | |
PhysX 3.4, APEX 1.4 patch release @22017166
Diffstat (limited to 'PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp')
| -rw-r--r-- | PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp b/PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp index fa0b5864..3a97aa74 100644 --- a/PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp +++ b/PhysX_3.4/Source/LowLevelCloth/src/SwFactory.cpp @@ -62,6 +62,11 @@ cloth::Fabric* cloth::SwFactory::createFabric(uint32_t numParticles, Range<const getNextFabricId()); } +#if PX_SUPPORT_EXTERN_TEMPLATE +//explicit template instantiation declaration +extern template class cloth::ClothImpl<cloth::SwCloth>; +#endif + cloth::Cloth* cloth::SwFactory::createCloth(Range<const PxVec4> particles, Fabric& fabric) { return new SwClothImpl(*this, fabric, particles); |