branch | pyrit |
changeset 93 | 96d65f841791 |
parent 92 | 9af5c039b678 |
child 94 | 4c8abb8977dc |
--- a/include/vector.h Mon May 05 15:31:14 2008 +0200 +++ b/include/vector.h Tue May 06 09:39:58 2008 +0200 @@ -132,9 +132,10 @@ // difference friend Vector operator-(const Vector &a, const Vector &b) { -#ifdef NO_SIMD +#if defined(NO_SIMD) || defined(MSVC) return Vector(a.x - b.x, a.y - b.y, a.z - b.z); #else + // this faults in MSVC, for unknown reason return Vector(msub(a.mf4, b.mf4)); #endif };