erebus
diff liberebus/src/rt.h @ 17:e9da2916bc79
fixed the normal bug
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 26 May 2014 05:41:28 +0300 |
parents | e2d9bf168a41 |
children |
line diff
1.1 --- a/liberebus/src/rt.h Sun May 25 02:23:39 2014 +0300 1.2 +++ b/liberebus/src/rt.h Mon May 26 05:41:28 2014 +0300 1.3 @@ -3,9 +3,9 @@ 1.4 1.5 #include "geomobj.h" 1.6 #include "color.h" 1.7 -#include "scene.h" 1.8 +#include "erebus_impl.h" 1.9 1.10 -Color ray_trace(const Ray &ray, const Scene *scn, int iter); 1.11 -Color shade(const RayHit &hit, const Scene *scn, int iter); 1.12 +Color ray_trace(struct erebus *ctx, const Ray &ray, int iter); 1.13 +Color shade(struct erebus *ctx, const RayHit &hit, int iter); 1.14 1.15 #endif // RT_H_