opengl-loop   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/shadowmap.xtm

Implementation

;; standard impromptu callback
(define opengl-loop
  (lambda (model1 model2 model3 degree)
    (gl_render model1 model2 model3 degree)
    (gl:swap-buffers glctx)
    (callback (+ (now) 1000) 'opengl-loop model1 model2 model3 (+ degree .5))))


Back to Index

Similar Entries

  • opengl-loop    scheme
  • opengl-loop    scheme
  • opengl-loop    scheme