Thread: [cgkit-commits] cgkit2/doc/tex mat4.tex,1.2,1.3
Brought to you by:
mbaas
From: Matthias B. <mb...@us...> - 2006-01-27 09:28:41
|
Update of /cvsroot/cgkit/cgkit2/doc/tex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17501/doc/tex Modified Files: mat4.tex Log Message: The documentation of mat4.lookAt was not quite correct Index: mat4.tex =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tex/mat4.tex,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mat4.tex 17 Aug 2005 19:34:10 -0000 1.2 --- mat4.tex 27 Jan 2006 09:28:33 -0000 1.3 *************** *** 205,213 **** \begin{methoddesc}{lookAt}{pos, target, up=(0,0,1)} ! Sets a transformation that moves the coordinate system to position \var{pos} and rotates it so that the z-axis points onto point \var{target}. The y-axis is pointing as closely as possible into the same direction as \var{up}. All three parameters have to be a ! 3-sequence. The method returns \var{self}. You can use this transformation to position objects in the scene that --- 205,213 ---- \begin{methoddesc}{lookAt}{pos, target, up=(0,0,1)} ! Returns a transformation that moves the coordinate system to position \var{pos} and rotates it so that the z-axis points onto point \var{target}. The y-axis is pointing as closely as possible into the same direction as \var{up}. All three parameters have to be a ! 3-sequence. You can use this transformation to position objects in the scene that |