X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fcsgimpl.h;h=8b65783640a20d7aa89f3cb794d3bcfcb6eee36c;hb=aab39eb873290ce4b268fe4ae303def6bf932bc0;hp=ab92f1ed868865a31a30fa4057b6ac7820db99a8;hpb=3dd5ba3e29ccff62d188bb4e9e8d23d1879a6024;p=csgray diff --git a/src/csgimpl.h b/src/csgimpl.h index ab92f1e..8b65783 100644 --- 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_ */