|
@ -25,8 +25,8 @@ function createControls(camera, canvas) { |
|
|
// remember to add to loop updatables to work
|
|
|
// remember to add to loop updatables to work
|
|
|
controls.enableDamping = true; |
|
|
controls.enableDamping = true; |
|
|
|
|
|
|
|
|
controls.enableZoom = false; |
|
|
//controls.enableZoom = false;
|
|
|
controls.enablePan = false; |
|
|
//controls.enablePan = false;
|
|
|
|
|
|
|
|
|
controls.tick = () => controls.update(); |
|
|
controls.tick = () => controls.update(); |
|
|
|
|
|
|
|
|