Florin is right.
But if you are tied to Euler angles, specially at initial and final position,
you can do something like:
// euler2Quat is method to convert a Tuple3f to Quat4f
Quat4f qInit = euler2Quat(initAngle);
Quat4f qEnd = euler2Quat(endAngle);
Quat4f qMid = new Quat4f();
// interm
Title: Message
There
is obviously no difference since you're still using quaternions like euler
angles. In other words, as long as you use pitch/yaw/roll you're always have
gimbal locks, regardless of what intermediate transformations you use. If you
don't want gimbal locks, just stop using