diff options
Diffstat (limited to 'PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h')
| -rw-r--r-- | PhysX_3.4/Source/LowLevelCloth/src/SwSolverKernel.h | 11 |
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 + } } |