Euler -> Quat: Flipped: 90 == -270

100 Views Asked by At

i am playing around with quaterions, matrices, euler rotations. For some reason when converting from euler to quaternion to euler my angles are flipped.

So where i expect 90, i get -270.

30 stays 30

180 = -180

Is there a quick fix or what could cause the problem?

Regards