X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcsgray.h;h=5e6fc310e80eaf2ec6e8ad2d6743f306ec982062;hb=07f86df1b104515376419c7a214253fb435fc396;hp=196ecc26bbadd12c7c5ee64d7c7c775354700d00;hpb=07ca36e28aa10804ba5a544276eb5a25f8105e0f;p=csgray diff --git a/src/csgray.h b/src/csgray.h index 196ecc2..5e6fc31 100644 --- a/src/csgray.h +++ b/src/csgray.h @@ -26,10 +26,13 @@ csg_object *csg_union(csg_object *a, csg_object *b); csg_object *csg_intersection(csg_object *a, csg_object *b); csg_object *csg_subtraction(csg_object *a, csg_object *b); +void csg_ambient(float r, float g, float b); + void csg_emission(csg_object *o, float r, float g, float b); void csg_color(csg_object *o, float r, float g, float b); 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_render_pixel(int x, int y, int width, int height, float aspect, float *color); void csg_render_image(float *pixels, int width, int height);