uncomment
parent
eefaa1fbce
commit
ae5d71a80a
|
@ -110,7 +110,7 @@ R3.AR.prototype.createInstance = function() {
|
||||||
|
|
||||||
if (event.data.type === artoolkit.PATTERN_MARKER) {
|
if (event.data.type === artoolkit.PATTERN_MARKER) {
|
||||||
|
|
||||||
console.log('found marker');
|
// console.log('found marker');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We want to update the camera
|
* We want to update the camera
|
||||||
|
@ -131,7 +131,6 @@ R3.AR.prototype.createInstance = function() {
|
||||||
*/
|
*/
|
||||||
var markerAxisTransformMatrix = new THREE.Matrix4().makeRotationX(Math.PI / 2);
|
var markerAxisTransformMatrix = new THREE.Matrix4().makeRotationX(Math.PI / 2);
|
||||||
modelViewMatrix.multiply(markerAxisTransformMatrix);
|
modelViewMatrix.multiply(markerAxisTransformMatrix);
|
||||||
|
|
||||||
arComponent.camera.instance.matrix.getInverse(modelViewMatrix);
|
arComponent.camera.instance.matrix.getInverse(modelViewMatrix);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue