Skip to content

Commit

Permalink
camera perspective update
Browse files Browse the repository at this point in the history
  • Loading branch information
dhorpynchenko committed Jan 17, 2019
1 parent 8a7a204 commit 2efd63b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ function initScene() {
scene = new THREE.Scene();
camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.01, 10000);
camera.position.y = 15; // Up-down
camera.position.z = -15;
camera.rotateX(0.5);
camera.position.z = -18;
camera.rotateX(0.35);
camera.rotateY(Math.PI);

onRenderFunctions.push(function () {
Expand Down

0 comments on commit 2efd63b

Please sign in to comment.