Skip to content
Snippets Groups Projects
Commit 011231e6 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

ben seetings

parent f776b95f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment