Commit 9b6f9bfb authored by amandaghassaei's avatar amandaghassaei
Browse files

center geo

parent ac124fa0
......@@ -113,6 +113,7 @@ function initModel(globals){
geometry.verticesNeedUpdate = true;
// geometry.computeFaceNormals();
geometry.computeFlatVertexNormals();
geometry.center();
});
}
......@@ -191,7 +192,6 @@ function initModel(globals){
geometry.computeFaceNormals();
geometry.computeBoundingBox();
geometry.computeBoundingSphere();
geometry.center();
globals.shouldSyncWithModel = true;
inited = true;
......
Supports Markdown
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