aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.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/SwSolverKernel.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/SwSolverKernel.h')
-rw-r--r--PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h b/PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h
index 2e6abafb..38e87923 100644
--- a/PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h
+++ b/PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h
@@ -80,5 +80,16 @@ class SwSolverKernel
template <typename AccelerationIterator>
void integrateParticles(AccelerationIterator& accelIt, const Simd4f&);
};
+
+#if PX_SUPPORT_EXTERN_TEMPLATE
+//explicit template instantiation declaration
+#if NV_SIMD_SIMD
+extern template class SwSolverKernel<Simd4f>;
+#endif
+#if NV_SIMD_SCALAR
+extern template class SwSolverKernel<Scalar4f>;
+#endif
+#endif
+
}
}