diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-09-29 20:22:06 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-09-29 20:22:06 -0400 |
commit | 31502b3bfb4c691e522634a48bf60364327de3ae (patch) | |
tree | 965c69256184caecfab5c656d786f3e7b431032d /examples/coroutine.scm | |
parent | 3f0a5732c8d4be45f10af9579e4eca334e8deb55 (diff) |
scene: Decouple cameras from the scene they render.
* sly/camera.scm (make-camera, orthographic-camera): Remove 'scene'
parameter.
(draw-camera): Delete.
(call-with-camera): New procedure.
* sly/game.scm (start-game-loop): Replace 'camera' parameter with
'scene'.
* sly/scene.scm (make-scene, scene?, update-scene, draw-scene): New
procedures.
(scene-root): Replace.
Diffstat (limited to 'examples/coroutine.scm')
0 files changed, 0 insertions, 0 deletions