pike.git / lib / modules / GLU.pmod

version» Context lines:

pike.git/lib/modules/GLU.pmod:1: + /* +  * $Id: GLU.pmod,v 1.2 1999/08/10 17:13:31 grubba Exp $ +  * +  * GL Utilities module. +  */ + #if constant(GL)   import GL;      #ifndef M_PI   #define M_PI 3.1415926536   #endif   #define EPS 0.00001      void gluLookAt(float eyex, float eyey, float eyez,    float centerx, float centery, float centerz,    float upx, float upy, float upz)
pike.git/lib/modules/GLU.pmod:168:   // in[3]=1.0;      // matmul(A,proj,model);   // invert_matrix(A,m);      // transform_point(out,m,in);   // if (out[3]==0.0)   // return GL_FALSE;   // return ({ out[0]/out[3], out[1]/out[3], out[2]/out[3] });   // } +  + #endif /* constant(GL) */