projects
/
cyberay
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
primary rays without jitter
[cyberay]
/
src
/
rt.h
diff --git
a/src/rt.h
b/src/rt.h
index
b06fd64
..
de3853a
100644
(file)
--- a/
src/rt.h
+++ b/
src/rt.h
@@
-3,6
+3,7
@@
#include <cgmath/cgmath.h>
#include "image.h"
#include <cgmath/cgmath.h>
#include "image.h"
+#include "tpool.h"
struct material {
cgm_vec3 color;
struct material {
cgm_vec3 color;
@@
-18,6
+19,8
@@
struct framebuffer {
};
extern struct framebuffer fb;
};
extern struct framebuffer fb;
+extern struct thread_pool *tpool;
+extern float view_xform[16];
int fbsize(int width, int height);
int fbsize(int width, int height);