erebus
annotate liberebus/src/rt.h @ 47:4b91c9a501d8
minor fix of strange code structure in the thread func
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 01 Feb 2016 14:56:15 +0200 |
parents | e2d9bf168a41 |
children |
rev | line source |
---|---|
nuclear@6 | 1 #ifndef RT_H_ |
nuclear@6 | 2 #define RT_H_ |
nuclear@6 | 3 |
nuclear@6 | 4 #include "geomobj.h" |
nuclear@6 | 5 #include "color.h" |
nuclear@17 | 6 #include "erebus_impl.h" |
nuclear@6 | 7 |
nuclear@17 | 8 Color ray_trace(struct erebus *ctx, const Ray &ray, int iter); |
nuclear@17 | 9 Color shade(struct erebus *ctx, const RayHit &hit, int iter); |
nuclear@6 | 10 |
nuclear@6 | 11 #endif // RT_H_ |