aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-04-25 16:02:08 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-04-25 16:02:08 -0500
commitd11708e398c2f6377d9eac2b1f7248c62faab569 (patch)
tree5778e794690c046ab4b0205d8f764960a5af168b /PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h
parentPhysX 3.4, APEX 1.4 patch release @21821222 (diff)
downloadphysx-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/SwSelfCollision.h')
-rw-r--r--PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h b/PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h
index c50ea8b5..b13ba4d9 100644
--- a/PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h
+++ b/PhysX_3.4/Source/LowLevelCloth/src/SwSelfCollision.h
@@ -78,6 +78,16 @@ class SwSelfCollision
mutable uint32_t mNumCollisions;
};
+#if PX_SUPPORT_EXTERN_TEMPLATE
+//explicit template instantiation declaration
+#if NV_SIMD_SIMD
+extern template class SwSelfCollision<Simd4f>;
+#endif
+#if NV_SIMD_SCALAR
+extern template class SwSelfCollision<Scalar4f>;
+#endif
+#endif
+
} // namespace cloth
} // namespace physx