Commit c2e14e56 authored by amandaghassaei's avatar amandaghassaei
Browse files

remove scaling on dt

parent 58b59cc2
......@@ -229,7 +229,7 @@ function initDynamicSolver(globals){
}
function setSolveParams(){
var dt = calcDt()/2;//todo factor of 2?
var dt = calcDt();
$("#deltaT").html(dt);
globals.gpuMath.setProgram("thetaCalc");
globals.gpuMath.setUniformForProgram("thetaCalc", "u_dt", dt, "1f");
......
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