summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-09-29 20:22:06 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-09-29 20:22:06 -0400
commit31502b3bfb4c691e522634a48bf60364327de3ae (patch)
tree965c69256184caecfab5c656d786f3e7b431032d /examples
parent3f0a5732c8d4be45f10af9579e4eca334e8deb55 (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')
0 files changed, 0 insertions, 0 deletions