--- a/include/raytracer.h Fri May 02 13:27:47 2008 +0200
+++ b/include/raytracer.h Mon May 05 15:31:14 2008 +0200
@@ -70,8 +70,8 @@
const Vector &P, const Vector &N, const Vector &V);
void lightScatter(const Ray &ray, const Shape *shape, int depth,
const Vector &P, const Vector &normal, bool from_inside, Colour &col);
-#ifndef NO_SSE
- VectorPacket PhongShader_packet(const Shape **shapes,
+#ifndef NO_SIMD
+ VectorPacket PhongShader_packet(const Shape* const* shapes,
const VectorPacket &P, const VectorPacket &N, const VectorPacket &V);
void raytracePacket(RayPacket &rays, Colour *results);
#endif