cpvnormalize   xtlang


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

Implementation

(bind-func cpvnormalize
  (lambda (v:cpVect)
    (cpvmult v (/ 1.0 (+ (cpvlength v) CPFLOAT_MIN)))))


Back to Index