Thanks for your help,

but there's still one question left.
The quat's in your example do not behave like I expect.
Because in the bottom left position, the yellow side is in front, although the
quat at this position is defined as:
new Quat4f( 0.0f ,1.0f ,0.0f ,0.0f)

If I use the following sequence, the cube has the orientation I expect (=
rotation around y axis with 0 degrees = no rotation)

    Quat4f q = new Quat4f();
    AxisAngle4f aa = new AxisAngle4f( 0.0f ,1.0f ,0.0f ,0f);
    q.set(aa);

What is the special representation of the quats for? Why do they represent the
axis angle in another way?

Your slightly modified example maybe explains my confusion.

Chris Wewerka

--
ICQ : 32649217

<< "Very funny Scotty, now beam down my clothes!" >>

Rot.java

Reply via email to