summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/light.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-18 20:17:37 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-18 20:17:37 -0600
commit9c9fb9d59c2e90fc2bc9066dac514285c9479277 (patch)
treedf0d64d60cb933698054b41312167a790f5787cd /libdimension/dimension/light.h
parent6766ce89672897cabe48e48798b29dc3a461f1da (diff)
downloaddimension-9c9fb9d59c2e90fc2bc9066dac514285c9479277.tar.xz
Handle reflection of light and transmitted rays.
Diffstat (limited to 'libdimension/dimension/light.h')
-rw-r--r--libdimension/dimension/light.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/light.h b/libdimension/dimension/light.h
index b41a524..36c724a 100644
--- a/libdimension/dimension/light.h
+++ b/libdimension/dimension/light.h
@@ -34,8 +34,8 @@ typedef struct dmnsn_light dmnsn_light;
* @param[in] v The point to illuminate.
* @return The direction of light rays pointing from \p v
*/
-typedef dmnsn_line dmnsn_light_direction_fn(const dmnsn_light *light,
- dmnsn_vector v);
+typedef dmnsn_vector dmnsn_light_direction_fn(const dmnsn_light *light,
+ dmnsn_vector v);
/**
* Light illumination callback.