exarcheia-skinview3d
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -0,0 +0,0 @@ import { PlayerObject } from "./model.js"; |
@@ -0,0 +0,0 @@ import { Clock } from "three"; |
@@ -0,0 +0,0 @@ import { EffectComposer } from "three/examples/jsm/postprocessing/EffectComposer.js"; |
@@ -0,0 +0,0 @@ import { EffectComposer } from "three/examples/jsm/postprocessing/EffectComposer.js"; |
@@ -1,2 +0,2 @@ | ||
import { ModelType } from "skinview-utils"; | ||
import { ModelType } from "exarcheia-skinview-utils"; | ||
import { Group, Mesh, Object3D, Texture } from "three"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -0,0 +0,0 @@ import { BoxGeometry, DoubleSide, FrontSide, Group, Mesh, MeshBasicMaterial, Vector2 } from "three"; |
import { SkinViewer } from "./viewer.js"; | ||
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js"; | ||
export declare function createOrbitControls(skinViewer: SkinViewer): OrbitControls; |
@@ -0,0 +0,0 @@ import { Vector3 } from "three"; |
@@ -0,0 +0,0 @@ export * from "./model.js"; |
@@ -0,0 +0,0 @@ export * from "./model.js"; |
@@ -1,2 +0,2 @@ | ||
import { CapeContainer, ModelType, SkinContainer, RemoteImage, TextureSource } from "skinview-utils"; | ||
import { CapeContainer, ModelType, SkinContainer, RemoteImage, TextureSource } from "exarcheia-skinview-utils"; | ||
import { PerspectiveCamera, Scene, WebGLRenderer } from "three"; | ||
@@ -3,0 +3,0 @@ import { RootAnimation } from "./animation.js"; |
@@ -1,2 +0,2 @@ | ||
import { applyMixins, CapeContainer, SkinContainer } from "skinview-utils"; | ||
import { applyMixins, CapeContainer, SkinContainer } from "exarcheia-skinview-utils"; | ||
import { NearestFilter, PerspectiveCamera, Scene, Texture, Vector2, WebGLRenderer } from "three"; | ||
@@ -7,3 +7,2 @@ import { RootAnimation } from "./animation.js"; | ||
constructor(options = {}) { | ||
var _a; | ||
this.animations = new RootAnimation(); | ||
@@ -23,3 +22,3 @@ this._disposed = false; | ||
this.scene = new Scene(); | ||
const { x, y, z, depth } = (_a = options.perspective) !== null && _a !== void 0 ? _a : {}; | ||
const { x, y, z, depth } = options.perspective || {}; | ||
// Use smaller fov to avoid distortion | ||
@@ -26,0 +25,0 @@ this.camera = new PerspectiveCamera(depth !== null && depth !== void 0 ? depth : 40); |
{ | ||
"name": "exarcheia-skinview3d", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Three.js powered Minecraft skin viewer", | ||
@@ -42,3 +42,3 @@ "main": "libs/skinview3d.js", | ||
"dependencies": { | ||
"skinview-utils": "^0.5.9", | ||
"exarcheia-skinview-utils": "^0.5.91", | ||
"three": "^0.122.0" | ||
@@ -45,0 +45,0 @@ }, |
@@ -0,0 +0,0 @@ skinview3d |
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
Sorry, the diff of this file is not supported yet
1287746
2458
+ Addedexarcheia-skinview-utils@0.5.99(transitive)
- Removedskinview-utils@^0.5.9
- Removedskinview-utils@0.5.9(transitive)