move camera up by 4m

This commit is contained in:
Haowei Wen 2020-10-03 23:09:55 +08:00
parent a579f7bf26
commit a79d5b4ba9
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
skinViewer.camera.rotation.y = 0.534;
skinViewer.camera.rotation.z = 0.348;
skinViewer.camera.position.x = 30.5;
skinViewer.camera.position.y = 18.0;
skinViewer.camera.position.y = 22.0;
skinViewer.camera.position.z = 42.0;
for (const { skin, cape } of textures) {

View File

@ -81,7 +81,7 @@ class SkinViewer {
// Use smaller fov to avoid distortion
this.camera = new PerspectiveCamera(40);
this.camera.position.y = -12;
this.camera.position.y = -8;
this.camera.position.z = 60;
this.renderer = new WebGLRenderer({