This commit is contained in:
Robert 2021-03-10 16:11:17 +01:00
parent 99d494eef1
commit 35ef33f2ea

View file

@ -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";
}
}