diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-26 17:21:37 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-26 18:58:42 -0500 |
commit | b437554ae933f99a59054e6589177ca8380a3a97 (patch) | |
tree | bbf5708813e3892b23dad4886c0f6228ab5c3e58 /dimension/realize.c | |
parent | c0a0ee5ae71b97b1400efddb4c374e1d13701fa3 (diff) | |
download | dimension-b437554ae933f99a59054e6589177ca8380a3a97.tar.xz |
Add cameras to grammar.
Diffstat (limited to 'dimension/realize.c')
-rw-r--r-- | dimension/realize.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dimension/realize.c b/dimension/realize.c index 8d811fc..4832fd2 100644 --- a/dimension/realize.c +++ b/dimension/realize.c @@ -401,6 +401,9 @@ dmnsn_realize(const dmnsn_array *astree) dmnsn_light *light; dmnsn_object *object; switch (astnode.type) { + case DMNSN_AST_CAMERA: + break; + case DMNSN_AST_BACKGROUND: dmnsn_array_get(astnode.children, 0, &astnode); scene->background = dmnsn_realize_color(astnode); |