projects
/
csgray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implemented lookat camera
[csgray]
/
src
/
csgimpl.h
diff --git
a/src/csgimpl.h
b/src/csgimpl.h
index
ab92f1e
..
8b65783
100644
(file)
--- a/
src/csgimpl.h
+++ b/
src/csgimpl.h
@@
-21,6
+21,7
@@
struct object {
float emr, emg, emb;
float roughness;
float opacity;
+ int metallic;
float xform[16], inv_xform[16];
@@
-62,7
+63,10
@@
union csg_object {
struct camera {
float x, y, z;
float tx, ty, tz;
+ float ux, uy, uz;
float fov;
+
+ float xform[16];
};
#endif /* CSGIMPL_H_ */