summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/finish.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/finish.h')
-rw-r--r--libdimension/dimension/finish.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/dimension/finish.h b/libdimension/dimension/finish.h
index a16ea1b..a1b8f0e 100644
--- a/libdimension/dimension/finish.h
+++ b/libdimension/dimension/finish.h
@@ -36,6 +36,7 @@ typedef struct dmnsn_ambient dmnsn_ambient;
typedef dmnsn_color dmnsn_ambient_fn(const dmnsn_ambient *ambient,
dmnsn_color pigment);
+/** Ambient finish component. */
struct dmnsn_ambient {
dmnsn_ambient_fn *ambient_fn; /**< Ambient callback. */
dmnsn_free_fn *free_fn; /**< Destructor callback. */
@@ -97,6 +98,7 @@ typedef dmnsn_color dmnsn_specular_fn(const dmnsn_specular *specular,
dmnsn_vector ray, dmnsn_vector normal,
dmnsn_vector viewer);
+/** Specular finish component. */
struct dmnsn_specular {
dmnsn_specular_fn *specular_fn; /**< Specular callback. */
dmnsn_free_fn *free_fn; /**< Destructor callback. */