Mercurial > MadButterfly
changeset 910:410478ded5d2
Remove debug message
author | wycc |
---|---|
date | Tue, 19 Oct 2010 04:04:52 +0800 |
parents | 45625c200efe |
children | 7c4df3c1027f |
files | nodejs/animate.js |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/nodejs/animate.js Sat Oct 16 19:01:32 2010 +0800 +++ b/nodejs/animate.js Tue Oct 19 04:04:52 2010 +0800 @@ -52,7 +52,6 @@ sv = Math.sin(ang); cv = Math.cos(ang); mtx = [cv, -sv, 0, sv, cv, 0]; - sys.puts('x='+obj.center.x+',y='+obj.center.y); shift = [1, 0, -obj.center.x, 0, 1, -obj.center.y]; mtx = multiply(mtx, shift); shift = [1, 0, obj.center.x, 0, 1, obj.center.y]; @@ -209,14 +208,11 @@ var now = Date.now(); var i; - sys.puts("real time is "+now); - sys.puts("end is "+this.end); if (now >= this.end) { this.timer.stop(); now = this.end; } if (now < this.startmove) return; - sys.puts("now is "+now+" offset is "+(now-this.startmove)); var per = (now-this.startmove)/this.duration/1000; if (per > 1) per = 1; this.action.draw(per); @@ -331,7 +327,6 @@ exports.run = function(actions,start,duration) { for(a in actions) { var li = new linear(actions[a],start,duration); - sys.puts(li); li.start(); } }