diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-06-27 19:30:28 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-06-27 19:30:28 +0000 |
commit | 07da0198eec00352b604e3e440c0759dcef16df3 (patch) | |
tree | 10effe7fbc9b9becb3d5b754aa15c4628d5a35ed /libdimension | |
parent | 3cb8e49f07245bdb290b90d7eb5954eb287dd92c (diff) | |
download | dimension-07da0198eec00352b604e3e440c0759dcef16df3.tar.xz |
Yet more documentation.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/dimension.h | 4 | ||||
-rw-r--r-- | libdimension/dimension/color.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/dimension.h b/libdimension/dimension.h index 5e262e3..3e1bcf9 100644 --- a/libdimension/dimension.h +++ b/libdimension/dimension.h @@ -37,8 +37,8 @@ extern "C" { #include <dimension/color.h> #include <dimension/canvas.h> #include <dimension/object.h> -#include <dimension/sphere.h> -#include <dimension/cube.h> + #include <dimension/sphere.h> + #include <dimension/cube.h> #include <dimension/camera.h> #include <dimension/scene.h> #include <dimension/raytrace.h> diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h index 7095f88..e5b094c 100644 --- a/libdimension/dimension/color.h +++ b/libdimension/dimension/color.h @@ -27,10 +27,10 @@ /* Internally, we use CIE 1931 XYZ color. */ typedef struct { - double X, Y, Z; double filter, trans; /* Filter transparancy only lets light of this color through; regular transparancy lets all colors through. filter + trans should be <= 1.0. */ + double X, Y, Z; } dmnsn_color; typedef struct { |