comparison nodejs/animate.js @ 858:ed49dc0a26f1 abs_n_rel_center

Move lightbar to correct position when it being up
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 20 Sep 2010 22:43:44 +0800
parents ea1e88c40548
children 9303fb45a958
comparison
equal deleted inserted replaced
857:ea1e88c40548 858:ed49dc0a26f1
137 var mtx; 137 var mtx;
138 138
139 mtx = multiply(scale, sh1); 139 mtx = multiply(scale, sh1);
140 mtx = multiply(sh2, mtx); 140 mtx = multiply(sh2, mtx);
141 mtx = multiply(this.orig_mtx, mtx); 141 mtx = multiply(this.orig_mtx, mtx);
142 sys.puts([obj[0], obj[1], obj[2], obj[3], obj[4], obj[5]]);
143 obj[0] = mtx[0]; 142 obj[0] = mtx[0];
144 obj[1] = mtx[1]; 143 obj[1] = mtx[1];
145 obj[2] = mtx[2]; 144 obj[2] = mtx[2];
146 obj[3] = mtx[3]; 145 obj[3] = mtx[3];
147 obj[4] = mtx[4]; 146 obj[4] = mtx[4];