mini optimizacija - ha.

v1-final
Jure Podgoršek 2017-10-05 03:22:01 +02:00
parent 3073d88d28
commit 68a52b4f06
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ function camRotate () {
*/ */
camera.translateOnAxis(xAksa, cam_rot_offset); camera.translateOnAxis(xAksa, cam_rot_offset);
camera.lookAt(new THREE.Vector3(0, 0, 0)); camera.lookAt(scene.position);
}; };
// Inicializiraj // Inicializiraj