Each of these boxes are updating x y z rotation of the mesh. I am using quaternions.
When you input values in the boxes, I am calling this
let quaternion = new BABYLON.Quaternion.RotationAxisToRef(axis, value, mesh.rotationQuaternion)
mesh.rotationQuaternion = quaternion;
Basically, If you input something in X input box, I want to update existing quaternion with the new X value and apply it to the mesh rotation (rotate the mesh).