the quaternion is defined as follows:

think of a rotation about an arbitrary axis N, where

N = (x, y, z),

at an angle a.  then the AxisAngle representation of the rotation is
(a, N).  The same rotation is represented by the quaterion

Q = (s, V),
where
s = cos(1/2 a),
and
V = N sin(1/2 a)

Lily Lee

>
> See the Java 3D API Documentation,
> " Quat4f
>         public Quat4f(float x, float y, float z, float w)
> Constructs and initializes a Quat4f from the specified xyzw coordinates.
>     Parameters:
>         x - the x coordinate
>         y - the y coordinate
>         z - the z coordinate
>         w - the w scalar component "
>
> If it can help you.
>
> Armel
>
>
> ----------------------------------------------------------------------------
> -
> ----- Message d'origine -----
> De : "pine" <[EMAIL PROTECTED]>
> � : <[EMAIL PROTECTED]>
> Envoy� : vendredi 3 mars 2000 11:17
> Objet : [JAVA3D] Quat4f
>
>
> >       t = new Transform3D();
> >       t.setRotation(new Quat4f(0.78f, 0.78f, 0.78f,0.0f));
> >
> > What's the four parameters in Quat4f( ) mean?
> >
> > Thank you!
> >
> >
> ===========================================================================
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to