add PE_REF macro to allow Win32 SIMD for Physics Effects box-boxBoxDistance (although performance hardly differs)

This commit is contained in:
erwin.coumans
2008-11-15 22:40:09 +00:00
parent 29bfd06af7
commit 4d0c11cd95
3 changed files with 70 additions and 53 deletions

View File

@@ -59,7 +59,7 @@ using namespace Vectormath::Aos;
float
boxBoxDistance(Vector3& normal, BoxPoint& boxPointA, BoxPoint& boxPointB,
Box boxA, const Transform3 & transformA, Box boxB,
PE_REF(Box) boxA, const Transform3 & transformA, PE_REF(Box) boxB,
const Transform3 & transformB,
float distanceThreshold = FLT_MAX );