I am trying to translate object in space, and I have this function which should translate object, its stored in .js file
JSC3D.Matrix3x4.prototype.translate = function(tx, ty, tz) {
this.m03 += tx;
this.m13 += ty;
this.m23 += tz;
};
but in another js file I am trying to implement real numbers and to move object, how can I call this function and change its parameters ?