range-limit   xtlang


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

Implementation

;; help function
(bind-func range-limit
  (lambda (v:double l:double h:double)
    (if (< v l) l
  (if (> v h) h
      v))))


Back to Index

Similar Entries

  • range-limit    scheme