I made a simple slider in control panel to modify the position and rotation of an object. I have no problem with the position, as the values are relative, but I'd like to show the rotation's values in degrees. Here is what I have in the rotation controls:
gui
.add(mesh.rotation, "x")
.min(Math.PI * -1)
.max(Math.PI)
.step(0.01)
.name("Rotar en X");
And this is how it is shown in the control panel:
The idea is to show -180 and 180
