add absolute extrusion for flashforge finder. increase max zoom out

This commit is contained in:
Stewart Allen 2017-10-10 15:38:47 -04:00
commit 405136df79
4 changed files with 14 additions and 5 deletions

View file

@ -158,7 +158,7 @@ var gs_moto_space = exports;
function setPlatformSize(width, depth, height) {
platform.scale.set(width || 300, depth || 175, height || 5);
viewControl.maxDistance = Math.max(width,depth) * 2;
viewControl.maxDistance = Math.max(width,depth) * 4;
updatePlatformPosition();
var y = Math.max(width, height) * 1;
light1.position.set( width, y, depth);