Searched refs:cosPhi (Results 1 - 6 of 6) sorted by relevance
| /xsrc/external/mit/mesa-demos/dist/src/osdemos/ |
| H A D | osdemo.c | 76 GLfloat cosPhi, sinPhi, dist; local in function:Torus 79 cosPhi = cos(phi); 81 dist = outerRadius + innerRadius * cosPhi; 83 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); 85 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
|
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/ |
| H A D | torus.c | 104 GLfloat cosPhi, sinPhi, dist; local in function:draw_torus 107 cosPhi = cos(phi); 109 dist = R + r * cosPhi; 115 Normal(narray[vcount], cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); 120 Normal(narray[vcount], cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
|
| H A D | pbuffer.c | 90 GLfloat cosPhi, sinPhi, dist; local in function:draw_torus 93 cosPhi = cos(phi); 95 dist = R + r * cosPhi; 101 Normal(narray[vcount], cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); 106 Normal(narray[vcount], cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
|
| H A D | render_tex.c | 93 GLfloat cosPhi, sinPhi, dist; local in function:draw_torus 96 cosPhi = cos(phi); 98 dist = R + r * cosPhi; 104 Normal(narray[vcount], cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); 109 Normal(narray[vcount], cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| H A D | glut_shapes.c | 199 GLfloat cosPhi, sinPhi, dist; local in function:doughnut 202 cosPhi = cos(phi); 204 dist = R + r * cosPhi; 206 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); 208 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
|
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| H A D | glut_shapes.c | 199 GLfloat cosPhi, sinPhi, dist; local in function:doughnut 202 cosPhi = cos(phi); 204 dist = R + r * cosPhi; 206 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); 208 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
|
Completed in 6 milliseconds