aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h
diff options
context:
space:
mode:
Diffstat (limited to 'PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h')
-rw-r--r--PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h b/PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h
index b4ae8824..baf631de 100644
--- a/PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h
+++ b/PhysX_3.4/Source/LowLevelCloth/src/SwInterCollision.h
@@ -139,6 +139,16 @@ class SwInterCollision
mutable uint32_t mNumCollisions;
};
+#if PX_SUPPORT_EXTERN_TEMPLATE
+//explicit template instantiation declaration
+#if NV_SIMD_SIMD
+extern template class SwInterCollision<Simd4f>;
+#endif
+#if NV_SIMD_SCALAR
+extern template class SwInterCollision<Scalar4f>;
+#endif
+#endif
+
} // namespace cloth
} // namespace physx