aboutsummaryrefslogtreecommitdiff
path: root/three_d.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-17 23:33:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-17 23:33:42 +0000
commit73146871639d8a92d24d0ec5db01f6e5729b12f1 (patch)
tree5ecefb50248ea2245f367906b92810696dd3fdbd /three_d.c
parentf8da0ee520988ec347bbd1173106635e55f2854c (diff)
fix bug where outlet order was reversed, bug report and patch from Mike McGonagle
svn path=/trunk/externals/chaos/; revision=16908
Diffstat (limited to 'three_d.c')
-rw-r--r--three_d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/three_d.c b/three_d.c
index b80a728..7346b43 100644
--- a/three_d.c
+++ b/three_d.c
@@ -87,9 +87,9 @@ static void calc(three_d_struct *three_d, double *vars) {
static void calculate(three_d_struct *three_d) {
calc(three_d, three_d -> vars);
- outlet_float(three_d -> x_obj.ob_outlet, three_d -> vars[M_x]);
- outlet_float(three_d -> outlets[M_y - 1], three_d -> vars[M_y]);
outlet_float(three_d -> outlets[M_z - 1], three_d -> vars[M_z]);
+ outlet_float(three_d -> outlets[M_y - 1], three_d -> vars[M_y]);
+ outlet_float(three_d -> x_obj.ob_outlet, three_d -> vars[M_x]);
} // end calculate
static void reset(three_d_struct *three_d, t_symbol *s, int argc, t_atom *argv) {