cpBBExpand   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpBB.xtm

Implementation

(bind-func cpBBExpand
  (lambda (bb:cpBB v:cpVect)
    (cpBB_val
      (min (tref bb 0) (tref v 0))
      (min (tref bb 1) (tref v 1))
      (max (tref bb 2) (tref v 0))
      (max (tref bb 3) (tref v 1)))))


Back to Index