erebus
annotate liberebus/src/rt.h @ 45:bab25c0ce337
started gmath conversion
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 29 Dec 2015 12:19:53 +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_ |