@zappar/zappar-threejs
Advanced tools
Comparing version 0.3.27-rc.1 to 0.3.27-rc.2
@@ -183,3 +183,3 @@ import * as Zappar from "@zappar/zappar"; | ||
updateFrame(renderer: THREE.WebGLRenderer): void; | ||
updateProjectionMatrix(): void; | ||
_updateProjectionMatrix(): void; | ||
updateMatrixWorld(force?: boolean): void; | ||
@@ -186,0 +186,0 @@ private getOriginPose; |
@@ -204,3 +204,4 @@ "use strict"; | ||
this.renderHeight = renderer.domElement.height; | ||
this.updateProjectionMatrix(); | ||
// eslint-disable-next-line no-underscore-dangle | ||
this._updateProjectionMatrix(); | ||
// Get the pose of the camera from the Zappar library | ||
@@ -223,3 +224,4 @@ switch (this.poseMode) { | ||
} | ||
updateProjectionMatrix() { | ||
// eslint-disable-next-line no-underscore-dangle | ||
_updateProjectionMatrix() { | ||
// Get the projection matrix for the camera from the Zappar library | ||
@@ -226,0 +228,0 @@ const model = this.pipeline.cameraModel(); |
/** | ||
* SDK version. | ||
*/ | ||
export declare const VERSION = "0.3.27-rc.1"; | ||
export declare const VERSION = "0.3.27-rc.2"; |
@@ -7,2 +7,2 @@ "use strict"; | ||
*/ | ||
exports.VERSION = "0.3.27-rc.1"; | ||
exports.VERSION = "0.3.27-rc.2"; |
{ | ||
"name": "@zappar/zappar-threejs", | ||
"version": "0.3.27-rc.1", | ||
"version": "0.3.27-rc.2", | ||
"description": "ThreeJS wrappers for Zappar's computer vision library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -72,3 +72,3 @@ # Zappar for ThreeJS | ||
<!-- Added by: zapparadmin, at: Mon Jun 28 15:59:29 BST 2021 --> | ||
<!-- Added by: zapparadmin, at: Mon Jun 28 16:34:17 BST 2021 --> | ||
@@ -104,3 +104,3 @@ <!--te--> | ||
Download the bundle from: | ||
<https://libs.zappar.com/zappar-threejs/0.3.27-rc.1/zappar-threejs.zip> | ||
<https://libs.zappar.com/zappar-threejs/0.3.27-rc.2/zappar-threejs.zip> | ||
@@ -118,3 +118,3 @@ Unzip into your web project and reference from your HTML like this: | ||
```html | ||
<script src="https://libs.zappar.com/zappar-threejs/0.3.27-rc.1/zappar-threejs.js"></script> | ||
<script src="https://libs.zappar.com/zappar-threejs/0.3.27-rc.2/zappar-threejs.js"></script> | ||
``` | ||
@@ -121,0 +121,0 @@ |
Sorry, the diff of this file is too big to display
6363564
1935