Commit 70e72ff7 authored by amandaghassaei's avatar amandaghassaei

zoom limits

parent feeda762
......@@ -58,6 +58,8 @@ function initThreeView(globals) {
controls.noPan = true;
controls.staticMoving = true;
controls.dynamicDampingFactor = 0.3;
controls.minDistance = 1;
controls.maxDistance = 13;
// controls.addEventListener("change", render);
_render();//render before model loads
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment