@zappar/zappar-threejs
Advanced tools
Comparing version 2.0.1 to 2.0.3
# Changelog | ||
## [2.0.3] - 2022-09-13 | ||
- Bumped `three` support to `r144` | ||
### Changed | ||
- Migrated `SphereBufferGeometry` to `SphereGeometry` in `CameraEnvironmentMap`. | ||
### Tests | ||
- Migrated various now deprecated BufferGeometries to Geometries. | ||
## [2.0.0] - 2022-08-23 | ||
@@ -4,0 +16,0 @@ |
@@ -24,3 +24,3 @@ "use strict"; | ||
this.cubeMapScene.add(this.cubeCamera); | ||
const sphere = new three_1.THREE.Mesh(new three_1.THREE.SphereBufferGeometry(10, 16, 12), this.sphereMaterial); | ||
const sphere = new three_1.THREE.Mesh(new three_1.THREE.SphereGeometry(10, 16, 12), this.sphereMaterial); | ||
sphere.rotation.set(0, -0.5 * Math.PI, 0); | ||
@@ -27,0 +27,0 @@ this.sphereGroup.add(sphere); |
/** | ||
* SDK version. | ||
*/ | ||
export declare const VERSION = "2.0.1"; | ||
export declare const VERSION = "2.0.3"; |
@@ -7,2 +7,2 @@ "use strict"; | ||
*/ | ||
exports.VERSION = "2.0.1"; | ||
exports.VERSION = "2.0.3"; |
{ | ||
"name": "@zappar/zappar-threejs", | ||
"version": "2.0.1", | ||
"version": "2.0.3", | ||
"description": "ThreeJS wrappers for Zappar's computer vision library", | ||
@@ -43,3 +43,3 @@ "main": "lib/index.js", | ||
"@types/node": "17.0.16", | ||
"@types/three": "0.142.0", | ||
"@types/three": "^0.144.0", | ||
"@typescript-eslint/eslint-plugin": "5.11.0", | ||
@@ -66,3 +66,3 @@ "@typescript-eslint/parser": "5.11.0", | ||
"puppeteer": "13.2.0", | ||
"three": "0.142.0", | ||
"three": "^0.144.0", | ||
"ts-jest": "27.1.3", | ||
@@ -80,3 +80,3 @@ "ts-loader": "9.2.6", | ||
"peerDependencies": { | ||
"three": "0.118.0 - 0.142.0" | ||
"three": "0.118.0 - 0.144.0" | ||
}, | ||
@@ -83,0 +83,0 @@ "dependencies": { |
@@ -71,3 +71,3 @@ # Zappar for ThreeJS | ||
<!-- Added by: zapparadmin, at: Tue Aug 23 13:11:39 BST 2022 --> | ||
<!-- Added by: zapparadmin, at: Tue Sep 13 13:34:12 BST 2022 --> | ||
@@ -103,3 +103,3 @@ <!--te--> | ||
Download the bundle from: | ||
<https://libs.zappar.com/zappar-threejs/2.0.1/zappar-threejs.zip> | ||
<https://libs.zappar.com/zappar-threejs/2.0.3/zappar-threejs.zip> | ||
@@ -117,3 +117,3 @@ Unzip into your web project and reference from your HTML like this: | ||
```html | ||
<script src="https://libs.zappar.com/zappar-threejs/2.0.1/zappar-threejs.js"></script> | ||
<script src="https://libs.zappar.com/zappar-threejs/2.0.3/zappar-threejs.js"></script> | ||
``` | ||
@@ -120,0 +120,0 @@ |
Sorry, the diff of this file is too big to display
7815285