front_idill/extern/fajran-tuiojs/src/tuio.js
changeset 26 858e90c7cbaa
parent 25 a7b0e40bcab0
child 27 6c08d4d7219e
--- a/front_idill/extern/fajran-tuiojs/src/tuio.js	Fri Apr 06 18:32:13 2012 +0200
+++ b/front_idill/extern/fajran-tuiojs/src/tuio.js	Fri Apr 06 18:36:40 2012 +0200
@@ -71,7 +71,7 @@
 			}
 		},
 
-		callback: function(type, sid, fid, x, y, angle) {
+		callback: function(type, sid, fid, x, y, z, angle) {
 			var data;
 			
 			if ((type != 0) && (type != 3)) {
@@ -86,10 +86,11 @@
 				this._data[sid] = data;
 			}
 
-			data.path.push([x, y]);
+			data.path.push([x, y, z]);
 	
 			data.x = x;
 			data.y = y;
+			data.z = z;
 			
 			if (type < 3) {
 				data.angle = angle;