Lines Matching refs:GLfloat
54 viewclip_point_xy( const GLfloat v[] )
74 viewclip_point_near_z( const GLfloat v[] )
93 viewclip_point_far_z( const GLfloat v[] )
113 userclip_point( struct gl_context *ctx, const GLfloat v[] )
118 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0]
142 const GLfloat vertex[4],
143 const GLfloat normal[3],
144 GLfloat Rcolor[4],
145 GLfloat Rspec[4])
147 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor;
149 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */
163 GLfloat attenuation = 1.0;
164 GLfloat VP[3]; /* vector from vertex to light pos */
165 GLfloat n_dot_VP;
166 GLfloat diffuseContrib[3], specularContrib[3];
175 GLfloat d;
180 d = (GLfloat) LEN_3FV( VP );
183 GLfloat invd = 1.0F / d;
193 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection);
199 GLfloat spot = powf(PV_dot_dir, lu->SpotExponent);
221 const GLfloat *h;
222 GLfloat n_dot_h;
227 GLfloat v[3];
246 GLfloat shine;
247 GLfloat spec_coef;
290 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4],
291 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4])
297 GLfloat u[3], two_nu, rx, ry, rz, m, mInv;
398 _mesa_RasterPos(struct gl_context *ctx, const GLfloat vObj[4])
408 GLfloat eye[4], clip[4], ndc[3], d;
409 GLfloat *norm, eyenorm[3];
410 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL];
483 const GLfloat *inv = ctx->ModelviewMatrixStack.Top->inv;
510 GLfloat tc[4];
533 rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
536 GLfloat p[4];
556 rasterpos((GLfloat)x, (GLfloat)y, (GLfloat)0.0, (GLfloat)1.0);
560 _mesa_RasterPos2f(GLfloat x, GLfloat y)
568 rasterpos((GLfloat) x, (GLfloat) y, 0.0F, 1.0F);
580 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F);
584 _mesa_RasterPos3f(GLfloat x, GLfloat y, GLfloat z)
592 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F);
604 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w);
608 _mesa_RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
616 rasterpos((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w);
628 rasterpos((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F);
632 _mesa_RasterPos2fv(const GLfloat *v)
640 rasterpos((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F);
652 rasterpos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F);
656 _mesa_RasterPos3fv(const GLfloat *v)
664 rasterpos((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F);
676 rasterpos((GLfloat) v[0], (GLfloat) v[1],
677 (GLfloat) v[2], (GLfloat) v[3]);
681 _mesa_RasterPos4fv(const GLfloat *v)
689 rasterpos((GLfloat) v[0], (GLfloat) v[1],
690 (GLfloat) v[2], (GLfloat) v[3]);
710 window_pos3f(GLfloat x, GLfloat y, GLfloat z)
713 GLfloat z2;
771 window_pos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
782 window_pos4f((GLfloat) x, (GLfloat) y, 0.0F, 1.0F);
786 _mesa_WindowPos2f(GLfloat x, GLfloat y)
794 window_pos4f((GLfloat) x, (GLfloat) y, 0.0F, 1.0F);
806 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F);
810 _mesa_WindowPos3f(GLfloat x, GLfloat y, GLfloat z)
818 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, 1.0F);
830 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w);
834 _mesa_WindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
842 window_pos4f((GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w);
854 window_pos4f((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F);
858 _mesa_WindowPos2fv(const GLfloat *v)
866 window_pos4f((GLfloat) v[0], (GLfloat) v[1], 0.0F, 1.0F);
878 window_pos4f((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F);
882 _mesa_WindowPos3fv(const GLfloat *v)
890 window_pos4f((GLfloat) v[0], (GLfloat) v[1], (GLfloat) v[2], 1.0F);
902 window_pos4f((GLfloat) v[0], (GLfloat) v[1],
903 (GLfloat) v[2], (GLfloat) v[3]);
907 _mesa_WindowPos4fvMESA(const GLfloat *v)
915 window_pos4f((GLfloat) v[0], (GLfloat) v[1],
916 (GLfloat) v[2], (GLfloat) v[3]);
931 void glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w )
933 GLfloat fx, fy;