From 011231e6049f824351afdac932b3f25f6a683bc8 Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Tue, 31 Mar 2015 23:26:48 -0400 Subject: [PATCH] ben seetings --- js/cam/Machine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cam/Machine.js b/js/cam/Machine.js index 1e2f7197..aa82f302 100644 --- a/js/cam/Machine.js +++ b/js/cam/Machine.js @@ -277,7 +277,7 @@ Shopbot.prototype._buildMeshes = function(callback){ geometry.computeBoundingBox(); var unitScale = 0.5/geometry.boundingBox.max.y; geometry.applyMatrix(new THREE.Matrix4().makeScale(unitScale, unitScale, unitScale)); - geometry.applyMatrix(new THREE.Matrix4().makeTranslation(0,0,1.13)); + geometry.applyMatrix(new THREE.Matrix4().makeTranslation(0,0,1.13-Math.sqrt(2)/2)); var mesh = new THREE.Mesh(geometry, material); mesh.visible = false; meshes.endEffector = mesh; -- GitLab