Commit 6999b8b0 authored by amandaghassaei's avatar amandaghassaei

adding in verlet

parent e25a55e8
This diff is collapsed.
...@@ -390,6 +390,10 @@ function initControls(globals){ ...@@ -390,6 +390,10 @@ function initControls(globals){
$("#aboutVRmodal").modal("show"); $("#aboutVRmodal").modal("show");
}); });
setRadio("integrationType", globals.integrationType, function(val){
globals.integrationType = val;
});
setRadio("simType", globals.simType, function(val){ setRadio("simType", globals.simType, function(val){
globals.simType = val; globals.simType = val;
......
This diff is collapsed.
...@@ -52,6 +52,7 @@ function initGlobals(){ ...@@ -52,6 +52,7 @@ function initGlobals(){
//dynamic sim settings //dynamic sim settings
percentDamping: 0.85, percentDamping: 0.85,
density: 1, density: 1,
integrationType: "verlet",
strainClip: 5.0,//for strain visualization, % strain that is drawn red strainClip: 5.0,//for strain visualization, % strain that is drawn red
......
Markdown is supported
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