diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-06-13 20:47:24 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-06-13 20:47:24 +0000 |
commit | 5c8f366a3b5d7303bf73bd6d5d0af0459bac72a2 (patch) | |
tree | adef78e07d9d9fa739d3fd661e959eb9ac023458 /libdimension/dimension/scene.h | |
parent | 4ef467adcb69fecadf9e8410fc8b33e1bb307365 (diff) | |
download | dimension-5c8f366a3b5d7303bf73bd6d5d0af0459bac72a2.tar.xz |
Add camera type.
Diffstat (limited to 'libdimension/dimension/scene.h')
-rw-r--r-- | libdimension/dimension/scene.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index e075cdd..a6f2e5d 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -28,10 +28,11 @@ typedef struct { dmnsn_color background; dmnsn_array *objects; + dmnsn_camera *camera; dmnsn_canvas *canvas; } dmnsn_scene; -dmnsn_scene *dmnsn_new_scene(unsigned int x, unsigned int y); +dmnsn_scene *dmnsn_new_scene(); void dmnsn_delete_scene(dmnsn_scene *scene); void dmnsn_raytrace_scene(dmnsn_scene *scene); |