initialize : function(pos, d, material) {
        this.position = pos;
        this.d = d;
        this.material = material;
    },