68 Vector SphereDistribute(int i, int n, Float extent, const Vector &normal); |
68 Vector SphereDistribute(int i, int n, Float extent, const Vector &normal); |
69 Colour PhongShader(const Shape *shape, |
69 Colour PhongShader(const Shape *shape, |
70 const Vector &P, const Vector &N, const Vector &V); |
70 const Vector &P, const Vector &N, const Vector &V); |
71 void lightScatter(const Ray &ray, const Shape *shape, int depth, |
71 void lightScatter(const Ray &ray, const Shape *shape, int depth, |
72 const Vector &P, const Vector &normal, bool from_inside, Colour &col); |
72 const Vector &P, const Vector &normal, bool from_inside, Colour &col); |
73 #ifndef NO_SSE |
73 #ifndef NO_SIMD |
74 VectorPacket PhongShader_packet(const Shape **shapes, |
74 VectorPacket PhongShader_packet(const Shape* const* shapes, |
75 const VectorPacket &P, const VectorPacket &N, const VectorPacket &V); |
75 const VectorPacket &P, const VectorPacket &N, const VectorPacket &V); |
76 void raytracePacket(RayPacket &rays, Colour *results); |
76 void raytracePacket(RayPacket &rays, Colour *results); |
77 #endif |
77 #endif |
78 static void *raytrace_worker(void *d); |
78 static void *raytrace_worker(void *d); |
79 public: |
79 public: |