Searched refs:angle (Results 1 - 25 of 150) sorted by relevance

123456

/xsrc/external/mit/mesa-demos/dist/src/egl/opengl/
H A Deglgears.c38 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
57 GLfloat angle, da; local in function:gear
73 angle = i * 2.0 * M_PI / teeth;
74 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
75 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
77 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
78 glVertex3f(r1 * cos(angle
[all...]
H A Dpeglgears.c93 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
119 GLfloat angle, da; local in function:gear
135 angle = i * 2.0 * M_PI / teeth;
136 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
137 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
139 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
140 glVertex3f(r1 * cos(angle
[all...]
H A Dxeglgears.c109 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
128 GLfloat angle, da; local in function:gear
144 angle = i * 2.0 * M_PI / teeth;
145 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
146 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
148 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
149 glVertex3f(r1 * cos(angle
[all...]
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dgears.c55 GLfloat angle, da; local in function:gear
71 angle = i * 2.0 * M_PI / teeth;
72 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
73 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
75 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
76 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle
169 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
[all...]
H A Dgearbox.c51 GLfloat angle, da; local in function:gear
67 angle = i * 2.0 * M_PI / teeth;
68 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
69 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
71 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
72 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle
[all...]
H A Dvao_demo.c37 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
184 glRotatef( angle, 0.0 * angle , 0.0 * angle, 1.0 );
190 glRotatef( angle, 0.3 * angle , 0.8 * angle, 1.0 );
198 glRotatef( angle, 0.3 * angle , 0.8 * angle, 1.
[all...]
H A Dwinpos.c36 GLfloat angle; local in function:draw
40 for (angle = -45.0; angle <= 135.0; angle += 10.0) {
41 GLfloat x = 50.0 + 200.0 * cos( angle * M_PI / 180.0 );
42 GLfloat y = 50.0 + 200.0 * sin( angle * M_PI / 180.0 );
H A Dgeartrain.c72 GLfloat angle; member in struct:GEAR
286 GLfloat angle, rad, incr = 10.0 * M_PI / 180.0; local in function:axle
290 for (angle = 0.0; angle < 360.0; angle += 5.0)
292 rad = angle * M_PI / 180.0;
304 for (angle = 0.0; angle < 360.0; angle += 5.0)
306 rad = angle * M_P
336 GLfloat angle, da; local in function:gear
451 GLfloat D, alpha, phi, angle, incr, width; local in function:belt
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dauxbuffer.c64 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
84 GLfloat angle, da; local in function:gear
100 angle = i * 2.0 * M_PI / teeth;
101 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
102 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
104 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
105 glVertex3f(r1 * cos(angle
[all...]
H A Djkrahntest.c43 float angle; local in function:main
127 for (angle = 0; angle < 360*4; angle += 10.0) {
138 glVertex2f(cos(angle * DEGTOR), sin(angle * DEGTOR));
139 glVertex2f(cos((angle + 20.0) * DEGTOR),
140 sin((angle + 20.0) * DEGTOR));
163 glVertex2f(cos(angle * DEGTOR), sin(angle * DEGTO
[all...]
H A Dmapbufrange.c44 UpdateRect(int r, float angle) argument
78 rect[i * 6 + 0] = xpos + x * cos(angle) + y * sin(angle);
79 rect[i * 6 + 1] = ypos + x * sin(angle) - y * cos(angle);
90 float angle = glutGet(GLUT_ELAPSED_TIME) * 0.001; local in function:LoadBuffer
91 UpdateRect(frame % NumRects, angle);
/xsrc/external/mit/freetype/dist/src/autofit/
H A Dafangles.c33 * The trick here is to realize that we don't need a very accurate angle
35 * only compare the sign of angle differences, or check whether its
48 AF_Angle angle;
61 angle = 0;
64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay );
67 if ( angle >= 0 )
68 angle = AF_ANGLE_PI - angle;
70 angle = -AF_ANGLE_PI - angle;
127 AF_Angle angle; local in function:af_angle_atan
[all...]
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Dglxcontexts.c94 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
117 GLfloat angle, da; local in function:gear
133 angle = i * 2.0 * M_PI / teeth;
134 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
135 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
137 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
138 glVertex3f(r1 * cos(angle
[all...]
H A Dglxgears.c101 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
129 GLfloat angle, da; local in function:gear
145 angle = i * 2.0 * M_PI / teeth;
146 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
147 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
149 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
150 glVertex3f(r1 * cos(angle
[all...]
H A Dmultictx.c57 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
93 GLfloat angle, da; local in function:gear
109 angle = i * 2.0 * M_PI / teeth;
110 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
111 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
113 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
114 glVertex3f(r1 * cos(angle
[all...]
H A Dglxgears_fbconfig.c98 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
118 GLfloat angle, da; local in function:gear
134 angle = i * 2.0 * M_PI / teeth;
135 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
136 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
138 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
139 glVertex3f(r1 * cos(angle
[all...]
H A Dglxgears_pixmap.c94 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
114 GLfloat angle, da; local in function:gear
130 angle = i * 2.0 * M_PI / teeth;
131 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
132 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
134 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
135 glVertex3f(r1 * cos(angle
[all...]
H A Dglxswapcontrol.c113 static GLfloat angle = 0.0; variable in typeref:typename:GLfloat
143 GLfloat angle, da; local in function:gear
159 angle = i * 2.0 * M_PI / teeth;
160 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
161 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5);
163 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5);
164 glVertex3f(r1 * cos(angle
[all...]
/xsrc/external/mit/freetype/dist/include/freetype/
H A Dfttrigon.h48 * This type is used to model angle values in FreeType. Note that the
49 * angle is a 16.16 fixed-point value expressed in degrees.
61 * The angle pi expressed in @FT_Angle units.
73 * The angle 2*pi expressed in @FT_Angle units.
85 * The angle pi/2 expressed in @FT_Angle units.
97 * The angle pi/4 expressed in @FT_Angle units.
109 * Return the sinus of a given angle in fixed-point format.
112 * angle ::
113 * The input angle.
119 * If you need both the sinus and cosinus for a given angle, us
[all...]
/xsrc/external/mit/freetype/dist/src/tools/
H A Dcordic.py17 angle = math.atan(x) # arctangent variable
18 angle2 = round(angle*scale) # arctangent in FT_Angle units
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-conical-gradient.c36 coordinates_to_parameter (double x, double y, double angle) argument
40 t = atan2 (y, x) + angle;
113 double t = coordinates_to_parameter (rx, ry, conical->angle);
149 t = coordinates_to_parameter (x, y, conical->angle);
193 pixman_fixed_t angle,
211 angle = MOD (angle, pixman_int_to_fixed (360));
216 conical->angle = (pixman_fixed_to_double (angle) / 180.0) * M_PI;
192 pixman_image_create_conical_gradient(const pixman_point_fixed_t * center,pixman_fixed_t angle,const pixman_gradient_stop_t * stops,int n_stops) argument
/xsrc/external/mit/freetype/dist/src/base/
H A Dfttrigon.c297 FT_Cos( FT_Angle angle ) argument
302 FT_Vector_Unit( &v, angle );
311 FT_Sin( FT_Angle angle ) argument
316 FT_Vector_Unit( &v, angle );
325 FT_Tan( FT_Angle angle ) argument
330 ft_trig_pseudo_rotate( &v, angle );
361 FT_Angle angle )
368 ft_trig_pseudo_rotate( vec, angle );
378 FT_Angle angle )
384 if ( !vec || !angle )
360 FT_Vector_Unit(FT_Vector * vec,FT_Angle angle) argument
377 FT_Vector_Rotate(FT_Vector * vec,FT_Angle angle) argument
454 FT_Vector_Polarize(FT_Vector * vec,FT_Fixed * length,FT_Angle * angle) argument
484 FT_Vector_From_Polar(FT_Vector * vec,FT_Fixed length,FT_Angle angle) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/egl/openvg/
H A Dlion.c10 VGfloat angle = 0; variable in typeref:typename:VGfloat
24 vgRotate(angle);
46 ++angle;
/xsrc/external/mit/mesa-demos/dist/src/egl/openvg/trivial/
H A Dlayer.c23 static void ellipse(VGPath vgPath, VGfloat rx, VGfloat ry, VGfloat angle) argument
29 VGfloat c = cos(angle) * rx;
30 VGfloat s = sin(angle) * rx;
36 val[4] = angle;
41 val[9] = angle;
H A Dmask_render.c44 static void ellipse(VGPath vgPath, VGfloat rx, VGfloat ry, VGfloat angle) argument
50 VGfloat c = cos(angle) * rx;
51 VGfloat s = sin(angle) * rx;
57 val[4] = angle;
62 val[9] = angle;

Completed in 15 milliseconds

123456