--- a/include/kdtree.h Tue Apr 29 23:31:08 2008 +0200
+++ b/include/kdtree.h Fri May 02 13:27:47 2008 +0200
@@ -86,8 +86,10 @@
void addShape(Shape* aShape) { Container::addShape(aShape); built = false; };
Shape *nearest_intersection(const Shape *origin_shape, const Ray &ray,
Float &nearest_distance);
+#ifndef NO_SSE
void packet_intersection(const Shape **origin_shapes, const RayPacket &rays,
Float *nearest_distances, Shape **nearest_shapes);
+#endif
void optimize() { build(); };
void build();
bool isBuilt() const { return built; };