var Point = new Class({

	initialize: function(canvas, x, y, z){
		this.canvas = canvas;
		this.p = {x: x, y: y, z: z};
		this.draw();
	},

	moveTo: function(p){
		this.p = p;
		this.draw();
	},

	draw: function(){
		var p = cam.transform(this.p);
		var ctx = this.canvas.ctx;
		ctx.fillStyle = "rgb(200,0,0)";
		ctx.fillRect(p.x, p.y, 4, 4);
	}

});
