cpBBMergedArea   xtlang


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

Implementation

(bind-func cpBBMergedArea
  (lambda (a:cpBB b:cpBB)
    (*
      (- (max (tref a 2) (tref b 2)) (min (tref a 0) (tref b 0)))
      (- (max (tref a 3) (tref b 3)) (min (tref a 1) (tref b 1))))))


Back to Index