gl-loop   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/external/shader-tutorials/arrows.xtm

Implementation

(define gl-loop
  (lambda (time delta-t)
    (arrows_clockspin_heads (* (cos (* .0000053 time)) .3) (* time 0.0000074))
    (gl_draw_arrows)
    ;; (println 'time: time)
    (callback (+ time (* *second* delta-t) 0.5)
              'gl-loop
              (+ time (* *second* delta-t))
              delta-t)))


Back to Index

Similar Entries