diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-12-23 02:04:32 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-12-23 02:04:32 -0500 |
commit | a9ce26a1cd786690b4b8f4b54fc7077b3d3569e5 (patch) | |
tree | 1d6e3676224699d828180a15edbca8a3ed39d75a /libdimension/dimension/finishes.h | |
parent | ff44d1b89812c1c7ef86c848937f17a59c64a66e (diff) | |
download | dimension-a9ce26a1cd786690b4b8f4b54fc7077b3d3569e5.tar.xz |
Separate finishes into single-purpose finishes.
Diffstat (limited to 'libdimension/dimension/finishes.h')
-rw-r--r-- | libdimension/dimension/finishes.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libdimension/dimension/finishes.h b/libdimension/dimension/finishes.h index e3d0597..b836e51 100644 --- a/libdimension/dimension/finishes.h +++ b/libdimension/dimension/finishes.h @@ -25,8 +25,13 @@ #ifndef DIMENSION_FINISHES_H #define DIMENSION_FINISHES_H -/* A phong finish */ -dmnsn_finish *dmnsn_new_phong_finish(double diffuse, double specular, - double exp); +/* Add two finishes */ +dmnsn_finish *dmnsn_new_finish_combination(dmnsn_finish *f1, dmnsn_finish *f2); + +dmnsn_finish *dmnsn_new_ambient_finish(dmnsn_color ambient); +dmnsn_finish *dmnsn_new_diffuse_finish(double diffuse); + +/* A phong specular highlight */ +dmnsn_finish *dmnsn_new_phong_finish(double specular, double exp); #endif /* DIMENSION_FINISHES_H */ |