diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-08-30 13:57:24 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2014-08-30 13:57:24 +0000 |
commit | 74ce9abb76a5fd0a658451902eeedefc73874b77 (patch) | |
tree | e2fa6d000d4373054e187cbc79d6fc9cde356ada | |
parent | 1abc1e4b559fc86f1bd783a887b9da0c9b963842 (diff) |
debug typo
svn path=/trunk/externals/pmpd/; revision=17343
-rw-r--r-- | pmpd3d_get.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pmpd3d_get.c b/pmpd3d_get.c index c832aba..949e9c5 100644 --- a/pmpd3d_get.c +++ b/pmpd3d_get.c @@ -612,7 +612,7 @@ void pmpd3d_linkLength(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv) { tmp1=x->link[i].mass1->posX-x->link[i].mass2->posX; tmp2=x->link[i].mass1->posY-x->link[i].mass2->posY; - tmp3=x->link[i].mass1->posZ-x->link[i].mass3->posZ; + tmp3=x->link[i].mass1->posZ-x->link[i].mass2->posZ; SETSYMBOL(&(toout[0]), x->link[i].Id); SETFLOAT(&(toout[1]), i); @@ -633,7 +633,7 @@ void pmpd3d_linkLength(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv) { tmp1=x->link[i].mass1->posX-x->link[i].mass2->posX; tmp2=x->link[i].mass1->posY-x->link[i].mass2->posY; - tmp3=x->link[i].mass1->posZ-x->link[i].mass3->posZ; + tmp3=x->link[i].mass1->posZ-x->link[i].mass2->posZ; SETSYMBOL(&(toout[0]), x->link[i].Id); SETFLOAT(&(toout[1]), i); @@ -652,7 +652,7 @@ void pmpd3d_linkLength(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv) { tmp1=x->link[i].mass1->posX-x->link[i].mass2->posX; tmp2=x->link[i].mass1->posY-x->link[i].mass2->posY; - tmp3=x->link[i].mass1->posZ-x->link[i].mass3->posZ; + tmp3=x->link[i].mass1->posZ-x->link[i].mass2->posZ; SETSYMBOL(&(toout[0]), x->link[i].Id); SETFLOAT(&(toout[1]), i); |