Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
OrigamiSimulator
Commits
9b6f9bfb
Commit
9b6f9bfb
authored
May 02, 2017
by
amandaghassaei
Browse files
center geo
parent
ac124fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/model.js
View file @
9b6f9bfb
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment