set-mouse-pos   xtlang


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

Implementation

(bind-func set-mouse-pos
  (lambda (x y)
    (set! _x (/ (i64tof x) 5.0))
    (set! _y (/ (- 360.0 (i64tof y)) 4.5))
    void))


Back to Index