I looked a bit on the description of Transform 3d but I can't say I really understood what is the difference between setEuler and rotX, rotY and rotZ.
I also searched some archives, but none actually gave me an understandable answer.
Does anyone know what the difference is?
They're essentially just shorthands:
t.setEuler(new Vector3d(a, 0, 0))
⇔ t.rotX(a)
t.setEuler(new Vector3d(0, a, 0))
⇔ t.rotY(a)
t.setEuler(new Vector3d(0, 0, a))
⇔ t.rotZ(a)