dollyIn method
Implementation
void dollyIn(num dollyScale) {
if (scope.object is PerspectiveCamera) {
scale *= dollyScale;
}
else if (scope.object is OrthographicCamera) {
scope.object.zoom = math.max(scope.minZoom,
math.min(scope.maxZoom, scope.object.zoom / dollyScale));
scope.object.updateProjectionMatrix();
zoomChanged = true;
}
else {
console.warning('OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.');
scope.enableZoom = false;
}
}