X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=csgray;a=blobdiff_plain;f=src%2Fcsgray.h;fp=src%2Fcsgray.h;h=5d0cf2652f89cb3249ac7e77d0fe99024100ef30;hp=5e6fc310e80eaf2ec6e8ad2d6743f306ec982062;hb=33b3cb144e8762bbb67424fd68374f92d85cdc3d;hpb=3c43d2e567540f8eca32407c9072b29fba988cc2 diff --git a/src/csgray.h b/src/csgray.h index 5e6fc31..5d0cf26 100644 --- a/src/csgray.h +++ b/src/csgray.h @@ -34,6 +34,12 @@ void csg_roughness(csg_object *o, float r); void csg_opacity(csg_object *o, float p); void csg_metallic(csg_object *o, int m); +void csg_reset_xform(csg_object *o); +void csg_translate(csg_object *o, float x, float y, float z); +void csg_rotate(csg_object *o, float angle, float x, float y, float z); +void csg_scale(csg_object *o, float x, float y, float z); +void csg_lookat(csg_object *o, float x, float y, float z, float tx, float ty, float tz, float ux, float uy, float uz); + void csg_render_pixel(int x, int y, int width, int height, float aspect, float *color); void csg_render_image(float *pixels, int width, int height);