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
a11b6ce4
Commit
a11b6ce4
authored
Feb 24, 2017
by
amandaghassaei
Browse files
ui
parent
1678733f
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/dynamicModel.js
View file @
a11b6ce4
...
...
@@ -148,7 +148,7 @@ function initDynamicModel(globals){
_
.
each
(
edges
,
function
(
beam
){
if
(
beam
.
getNaturalFrequency
()
>
maxFreqNat
)
maxFreqNat
=
beam
.
getNaturalFrequency
();
});
return
(
1
/
(
2
*
Math
.
PI
*
maxFreqNat
))
*
0.
5
;
//
half
of max delta t for good measure
return
(
1
/
(
2
*
Math
.
PI
*
maxFreqNat
))
*
0.
9
;
//
0.9
of max delta t for good measure
}
function
initTexturesAndPrograms
(
gpuMath
){
...
...
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