--- a/include/scene.h Sun Apr 27 14:19:37 2008 +0200
+++ b/include/scene.h Sun Apr 27 19:56:23 2008 +0200
@@ -178,13 +178,7 @@
Float h() { return H.y-L.y; };
Float d() { return H.z-L.z; };
bool intersect(const Ray &ray, Float &a, Float &b);
- bool intersect_packet(const RayPacket &rays, __m128 &a, __m128 &b)
- {
- return intersect(rays[0], ((float*)&a)[0], ((float*)&b)[0])
- || intersect(rays[1], ((float*)&a)[1], ((float*)&b)[1])
- || intersect(rays[2], ((float*)&a)[2], ((float*)&b)[2])
- || intersect(rays[3], ((float*)&a)[3], ((float*)&b)[3]);
- };
+ __m128 intersect_packet(const RayPacket &rays, __m128 &a, __m128 &b);
};
#endif