summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/dimension.h4
-rw-r--r--libdimension/dimension/color.h2
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 {