erebus

view liberebus/src/rt.h @ 34:d15ee526daa6

- changed the UI font, made it a bit smaller - fixed the text positioning in the status bar - added ThreadPool::clear to remove all pending jobs - fixed the TargetCamera matrix calculation to avoid singularities when the camera looks straight up or down. - fixed ommited normalization in TargetCamera's matrix calculation - added paths/sec display in the status bar
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 08 Jun 2014 08:12:05 +0300
parents e2d9bf168a41
children
line source
1 #ifndef RT_H_
2 #define RT_H_
4 #include "geomobj.h"
5 #include "color.h"
6 #include "erebus_impl.h"
8 Color ray_trace(struct erebus *ctx, const Ray &ray, int iter);
9 Color shade(struct erebus *ctx, const RayHit &hit, int iter);
11 #endif // RT_H_