summaryrefslogtreecommitdiff
path: root/examples/scene-graph.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-09-06 14:56:29 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-09-06 14:56:29 -0400
commit009998e281d24dc110661d2f348094376f1b57d5 (patch)
treeb5b508c0907b12242296eaf99632e7d836869841 /examples/scene-graph.scm
parent8df200f11a2a12e2b3f23269edeac2344776e3fb (diff)
camera: Add before/after draw handlers.
* sly/camera.scm (camera-before-draw-handler, camera-after-draw-handler): New procedures. (make-camera): Add before-draw and after-draw keyword parameters. (orthographic-camera): Use #:allow-other-keys. (run-handler): New procedure. (draw-camera): Enable/disable GL features before/after drawing and run handlers. * sly/window.scm (open-window): Remove calls to GL procedures.
Diffstat (limited to 'examples/scene-graph.scm')
0 files changed, 0 insertions, 0 deletions