implemented lookat camera
[csgray] / src / csgimpl.h
index ab92f1e..8b65783 100644 (file)
@@ -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_ */