WebARonTango
WebARonTango copied to clipboard
use .makeFrustum in THREE.WebAR.resizeVRSeeThroughCamera
this function is obsolete and trigger a console.warn() from three.js.
THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead.
in THREE.WebAR.js, in THREE.WebAR.resizeVRSeeThroughCamera, change this code to remove the warning
// old code - disabled because triggering warning
// camera.projectionMatrix.makeFrustum(left, right, bottom, top, camera.near, camera.far);
camera.projectionMatrix.makePerspective(left, right, top, bottom, camera.near, camera.far);
i should do a pull request when time allow