exarcheia-skinview3d
Advanced tools
Comparing version 2.0.0 to 2.0.2
@@ -7,2 +7,3 @@ import { applyMixins, CapeContainer, SkinContainer } from "skinview-utils"; | ||
constructor(options = {}) { | ||
var _a; | ||
this.animations = new RootAnimation(); | ||
@@ -22,3 +23,3 @@ this._disposed = false; | ||
this.scene = new Scene(); | ||
const { x, y, z, depth } = options.perspective || {}; | ||
const { x, y, z, depth } = (_a = options.perspective) !== null && _a !== void 0 ? _a : {}; | ||
// Use smaller fov to avoid distortion | ||
@@ -25,0 +26,0 @@ this.camera = new PerspectiveCamera(depth !== null && depth !== void 0 ? depth : 40); |
{ | ||
"name": "exarcheia-skinview3d", | ||
"version": "2.0.0", | ||
"version": "2.0.2", | ||
"description": "Three.js powered Minecraft skin viewer", | ||
@@ -5,0 +5,0 @@ "main": "libs/skinview3d.js", |
@@ -5,5 +5,4 @@ skinview3d | ||
[](https://github.com/bs-community/skinview3d/actions?query=workflow:CI) | ||
[](https://www.npmjs.com/package/skinview3d) | ||
[](https://github.com/bs-community/skinview3d/blob/master/LICENSE) | ||
[](https://gitter.im/skinview3d/Lobby) | ||
[](https://www.npmjs.com/package/exarcheia-skinview3d) | ||
[](https://github.com/exarcheia/skinview3d/blob/master/LICENSE) | ||
@@ -10,0 +9,0 @@ Three.js powered Minecraft skin viewer. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2460
1284380
91