X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fcsgimpl.h;h=8b65783640a20d7aa89f3cb794d3bcfcb6eee36c;hb=aab39eb873290ce4b268fe4ae303def6bf932bc0;hp=d6cb7a4f031f34d18c2ca9952afb8ad4d64f2cd1;hpb=07ca36e28aa10804ba5a544276eb5a25f8105e0f;p=csgray diff --git a/src/csgimpl.h b/src/csgimpl.h index d6cb7a4..8b65783 100644 --- a/src/csgimpl.h +++ b/src/csgimpl.h @@ -21,10 +21,12 @@ struct object { float emr, emg, emb; float roughness; float opacity; + int metallic; float xform[16], inv_xform[16]; csg_object *next; + csg_object *plt_next; void (*destroy)(csg_object*); }; @@ -61,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_ */