mainLoop   xtlang


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

2 implementations of mainLoop: #1 /digego/extempore/tree/v0.8.9/examples/contrib/horde3d_knight.xtm · #2 /digego/extempore/tree/v0.8.9/examples/contrib/bullet.xtm


Implementation

(bind-func mainLoop
  (let ((fps:float 30.0))
    (lambda (_at:double)
      (set! _curFPS fps)
      (h3dSetOption H3DOptions_DebugViewMode 0.0)
      (h3dSetOption H3DOptions_WireframeMode 0.0)
      (set! _at (+ _at 0.025))


Back to Index