diff --git a/js/artoolkit.api.js b/js/artoolkit.api.js index 43fb3af2..045c7d5b 100644 --- a/js/artoolkit.api.js +++ b/js/artoolkit.api.js @@ -197,8 +197,8 @@ } visible.inCurrent = true; - this.transMatToGLMat(visible.matrix, this.transform_mat); - this.transformGL_RH = this.arglCameraViewRHf(this.transform_mat); + ARController.transMatToGLMat(visible.matrix, this.transform_mat); + this.transformGL_RH = ARController.arglCameraViewRHf(this.transform_mat); this.dispatchEvent({ name: 'getMarker', target: this, @@ -218,8 +218,8 @@ visible = false; artoolkit.getTransMatMultiSquareRobust(this.id, i); - this.transMatToGLMat(this.marker_transform_mat, this.transform_mat); - this.transformGL_RH = this.arglCameraViewRHf(this.transform_mat); + ARController.transMatToGLMat(this.marker_transform_mat, this.transform_mat); + this.transformGL_RH = ARController.arglCameraViewRHf(this.transform_mat); for (j=0; j