summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/object.h b/libdimension/dimension/object.h
index 0f53406..0393d94 100644
--- a/libdimension/dimension/object.h
+++ b/libdimension/dimension/object.h
@@ -31,6 +31,9 @@ typedef struct {
dmnsn_line ray;
double t;
+ /* The surface normal at the intersection point */
+ dmnsn_vector normal;
+
/* The texture at the intersection point */
const dmnsn_texture *texture;
} dmnsn_intersection;