Fix result assigned to parameters in Quaternion.fromEulerAngles.

When given input x:0, y:90, z:0 degrees the result is:
`[nan, nan, nan, 0.707107]`
while expected:
`[0, 0.707107, 0, 0.707107]`

x, y and z were assigned to input parameters instead of struct members.