diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-09-06 14:56:29 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-09-06 14:56:29 -0400 |
commit | 009998e281d24dc110661d2f348094376f1b57d5 (patch) | |
tree | b5b508c0907b12242296eaf99632e7d836869841 /tests/math | |
parent | 8df200f11a2a12e2b3f23269edeac2344776e3fb (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 'tests/math')
0 files changed, 0 insertions, 0 deletions