[PD] GEM 3d movement

Frank Barknecht fbar at footils.org
Fri Mar 10 21:41:56 CET 2006


Hallo,
cyborgk at nocturnalnoize.com hat gesagt: // cyborgk at nocturnalnoize.com wrote:

> You almost made me crazy, because you gave the wrong formula, and I
> thought expr didn't work! ;)
> 
> I think the 3d distance is:
> [expr sqrt(($f4-$f1)*($f4-$f1) + ($f5-$f2)*($f5-$f2) + ($f6-$f3)*($f6-$f3)) ]

Ah, yes, of course, I don't know what I was thinking about when I made
up my completely wrong formula. Sorry for disturbing you, your version
is of course right and mine is utter nonsense for the task at hand.

At least [expr] still is the tool to use. ;)

ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list