diff -r ce6abe0aeeae -r 1081e3dd3f3e include/shapes.h --- a/include/shapes.h Sun Apr 27 19:56:23 2008 +0200 +++ b/include/shapes.h Sun Apr 27 22:55:17 2008 +0200 @@ -100,6 +100,7 @@ sqr_radius(aradius*aradius), inv_radius(1.0f/aradius) { material = amaterial; } bool intersect(const Ray &ray, Float &dist) const; + __m128 intersect_packet(const RayPacket &rays, __m128 &dists); bool intersect_all(const Ray &ray, Float dist, vector &allts) const; bool intersect_bbox(const BBox &bbox) const; const Vector3 normal(const Vector3 &P) const { return (P - center) * inv_radius; }; @@ -125,6 +126,7 @@ material = amaterial; }; bool intersect(const Ray &ray, Float &dist) const; + __m128 intersect_packet(const RayPacket &rays, __m128 &dists); bool intersect_all(const Ray &ray, Float dist, vector &allts) const { return false; }; bool intersect_bbox(const BBox &bbox) const; const Vector3 normal(const Vector3 &P) const;