erebus

annotate 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
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_