summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'dimension')
-rw-r--r--dimension/realize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index 11e37b9..d030a76 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -188,6 +188,10 @@ dmnsn_realize_camera(dmnsn_astnode astnode)
dmnsn_array_get(item.children, 0, &item);
sky = dmnsn_realize_vector(item);
break;
+ case DMNSN_AST_DIRECTION:
+ dmnsn_array_get(item.children, 0, &item);
+ direction = dmnsn_realize_vector(item);
+ break;
/* Camera modifiers */