Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
OrigamiSimulator
Commits
bc7e359c
Commit
bc7e359c
authored
May 28, 2017
by
amandaghassaei
Browse files
small changes
parent
0190ef94
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/dynamic/dynamicSolver.js
View file @
bc7e359c
...
...
@@ -26,7 +26,7 @@ function initDynamicSolver(globals){
var
normals
;
var
faceVertexIndices
;
//[a,b,c]
var
creaseMeta
;
//[k, d, targetTheta]
var
creaseMeta2
;
//[creaseIndex (thetaIndex), length to node, nodeIndex (1/2)] - this is for nodes which are opposite the crease
var
creaseMeta2
;
//[creaseIndex (thetaIndex), length to node, nodeIndex (1/2)
, 0
] - this is for nodes which are opposite the crease
//[creaseIndex (thetaIndex), coef1, coef2, -1] - this is for nodes which are on the crease
var
creaseVectors
;
//indices of crease nodes
var
theta
;
//[theta, w, normalIndex1, normalIndex2]
...
...
@@ -215,7 +215,7 @@ function initDynamicSolver(globals){
edges
[
i
].
render
();
}
}
else
{
console
.
log
(
"
here
"
);
console
.
log
(
"
shouldn't be
here
"
);
}
}
...
...
Write
Preview
Markdown
is supported
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