Branch: Tag:

2001-11-19

2001-11-19 16:21:12 by Martin Nilsson <mani@lysator.liu.se>

Added some sutodoc prototypes.

Rev: lib/modules/GLU.pmod:1.9

1:   /* -  * $Id: GLU.pmod,v 1.8 2000/09/28 03:38:25 hubbe Exp $ +  * $Id: GLU.pmod,v 1.9 2001/11/19 16:21:12 nilsson Exp $    *    * GL Utilities module.    */
13: Inside #if constant(GL.glGet)
  #ifndef M_PI   #define M_PI 3.1415926536   #endif - #define EPS 0.00001 +     -  + //! @fixme + //! Document this function.   void gluLookAt(float|object eye,float|object center,float|object up,    float ... old_api)   {
54:    glTranslate( ((array)(-1*eye))[0] );   }    + //! @fixme + //! Document this function.   void gluOrtho2D(float left, float right,    float bottom, float top)   {    glOrtho( left, right, bottom, top, -1.0, 1.0 );   }    -  + //! @fixme + //! Document this function.   void gluPerspective(float fovy, float aspect,    float zNear, float zFar)   {
74:    glFrustum( xmin, xmax, ymin, ymax, zNear, zFar );   }    -  + //! @fixme + //! Document this function.   void gluPickMatrix(float x, float y,    float width, float height,    array(int) viewport)
98:    glMultMatrix( m );   }    -  + //! @fixme + //! Document this function.   static void transform_point(array(float) out, array(float)m,    array(float) in)   {
110:   #undef M   }    -  + //! @fixme + //! Document this function.   array(float) gluProject(float objx, float objy,    float objz, array(float) model,    array(float) proj, array(int) viewport)