Update of /cvsroot/cgkit/cgkit2/doc/tex
In directory sc8prcvs1.sourceforge.net:/tmp/cvsserv22231/doc/tex
Modified Files:
quat.tex
Log Message:
quat.fromAngleAxis() now accepts an axis that is zero. The axis also doesn't have to be normalized
Index: quat.tex
===================================================================
RCS file: /cvsroot/cgkit/cgkit2/doc/tex/quat.tex,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff C2 d r1.1.1.1 r1.2
*** quat.tex 12 Dec 2004 14:31:52 0000 1.1.1.1
 quat.tex 20 Feb 2005 18:15:54 0000 1.2
***************
*** 82,91 ****
\begin{methoddesc}{toAngleAxis}{}
Returns a tuple containing the angle (in radians) and the axis of rotation.
\end{methoddesc}
\begin{methoddesc}{fromAngleAxis}{angle, axis}
! Initializes \var{self} from an angle (in radians) and an axis of rotation
! and returns \var{self}. New in version 1.1: The initialized quaternion will
! be a unit quaternion.
\end{methoddesc}
 82,93 
\begin{methoddesc}{toAngleAxis}{}
Returns a tuple containing the angle (in radians) and the axis of rotation.
+ The returned axis can also be zero if the rotation is actually the identity.
\end{methoddesc}
\begin{methoddesc}{fromAngleAxis}{angle, axis}
! Initializes \var{self} from an angle (in radians) and an axis of
! rotation and returns \var{self}. The initialized quaternion will be a
! unit quaternion. Passing the null vector as axis has the same effect
! as passing an angle of 0 (i.e. the quaternion will be set to (1,0,0,0)).
\end{methoddesc}
