From 78b2f11896f6bcda86a530f9d44278483872b43b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 16 Dec 2009 15:57:03 -0500 Subject: Support the 'direction' camera item. --- dimension/realize.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dimension/realize.c') 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 */ -- cgit v1.2.3