public void addTimeRotation(float time, float xAngle, float yAngle,
            float zAngle) {
        if (!(time >= 0f && time <= duration)) {
            throw new IllegalArgumentException("animation time out of range");
        }

        Quaternion quat = new Quaternion().fromAngles(xAngle, yAngle, zAngle);
        rotations.put(time, quat);
    }
Add a keyframe for the specified rotation at the specified time, based on
Tait-Bryan angles. Note that this is NOT equivalent to
{@link com.jme3.animation.AnimationFactory#addTimeRotationAngles(float, float, float, float)}.

@param time the animation time when full rotation should be achieved
(&ge;0, &le;duration)
@param xAngle the X angle (in radians)
@param yAngle the Y angle (in radians)
@param zAngle the Z angle (in radians)
jme3-core/src/main/java/com/jme3/anim/AnimFactory.java