summaryrefslogtreecommitdiffstats
path: root/libdimension/lambertian.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-07 16:58:20 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-07 16:58:20 -0400
commita22560c3ccaf19261b5c40fdcab36d2d22426986 (patch)
tree85a39e016ac972f54e282eedcf32b26da6f67822 /libdimension/lambertian.c
parentbfadc2ee359f10842da21336795e54f24a2746e3 (diff)
downloaddimension-a22560c3ccaf19261b5c40fdcab36d2d22426986.tar.xz
Use // comments when possible.
Diffstat (limited to 'libdimension/lambertian.c')
-rw-r--r--libdimension/lambertian.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/lambertian.c b/libdimension/lambertian.c
index 9360872..cced4a7 100644
--- a/libdimension/lambertian.c
+++ b/libdimension/lambertian.c
@@ -27,13 +27,13 @@
#include <math.h>
#include <stdlib.h>
-/** Lambertian diffuse type. */
+/// Lambertian diffuse type.
typedef struct dmnsn_lambertian {
dmnsn_diffuse diffuse;
double coeff;
} dmnsn_lambertian;
-/** Diffuse finish callback. */
+/// Diffuse finish callback.
static dmnsn_color
dmnsn_lambertian_diffuse_fn(const dmnsn_diffuse *diffuse,
dmnsn_color light, dmnsn_color color,