gugu2
This commit is contained in:
parent
99d494eef1
commit
35ef33f2ea
|
@ -300,6 +300,6 @@ function handleClick(event)
|
|||
theta = helper.angleBetween(createVector(0, -1));
|
||||
// alert(degrees(theta));
|
||||
|
||||
document.getElementById("inst").innerHTML = "Mass: " + m + " kg --- Moment of inertia: " + inertia.toFixed(3) + " kgm^-2 --- Canvas is 2m wide --- Simulated material is aluminum";
|
||||
document.getElementById("inst").innerHTML = "Mass: " + m.toFixed(3) + " kg --- Moment of inertia: " + inertia.toFixed(3) + " kgm^-2 --- Canvas is 2m wide --- Simulated material is aluminum";
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue