Searched refs:teeth (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/egl/opengl/
H A Deglgears.c46 * outer_radius - radius at center of teeth
48 * teeth - number of teeth
53 GLint teeth, GLfloat tooth_depth)
64 da = 2.0 * M_PI / teeth / 4.0;
72 for (i = 0; i <= teeth; i++) {
73 angle = i * 2.0 * M_PI / teeth;
76 if (i < teeth) {
84 /* draw front sides of teeth */
86 da = 2.0 * M_PI / teeth / 4.
52 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dpeglgears.c108 * outer_radius - radius at center of teeth
110 * teeth - number of teeth
115 GLint teeth, GLfloat tooth_depth)
126 da = 2.0 * M_PI / teeth / 4.0;
134 for (i = 0; i <= teeth; i++) {
135 angle = i * 2.0 * M_PI / teeth;
138 if (i < teeth) {
146 /* draw front sides of teeth */
148 da = 2.0 * M_PI / teeth / 4.
114 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dxeglgears.c117 * outer_radius - radius at center of teeth
119 * teeth - number of teeth
124 GLint teeth, GLfloat tooth_depth)
135 da = 2.0 * M_PI / teeth / 4.0;
143 for (i = 0; i <= teeth; i++) {
144 angle = i * 2.0 * M_PI / teeth;
147 if (i < teeth) {
155 /* draw front sides of teeth */
157 da = 2.0 * M_PI / teeth / 4.
123 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dgearbox.c40 outer_radius - radius at center of teeth
42 teeth - number of teeth
47 GLint teeth, GLfloat tooth_depth)
58 da = 2.0 * M_PI / teeth / 4.0;
66 for (i = 0; i <= teeth; i++) {
67 angle = i * 2.0 * M_PI / teeth;
70 if (i < teeth) {
77 /* draw front sides of teeth */
79 da = 2.0 * M_PI / teeth / 4.
46 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dgears.c42 outer_radius - radius at center of teeth
44 teeth - number of teeth
51 GLint teeth, GLfloat tooth_depth)
62 da = 2.0 * M_PI / teeth / 4.0;
70 for (i = 0; i <= teeth; i++) {
71 angle = i * 2.0 * M_PI / teeth;
74 if (i < teeth) {
81 /* draw front sides of teeth */
83 da = 2.0 * M_PI / teeth / 4.
50 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dgeartrain.c70 GLint teeth; member in struct:GEAR
240 LoadInteger (&g[gear_count - 1].teeth);
332 GLint teeth, GLfloat tooth_depth)
346 da = 2.0 * M_PI / teeth / 4.0;
358 for (i = 0; i <= teeth; i++)
360 angle = i * 2.0 * M_PI / teeth;
368 /* draw front sides of teeth */
371 da = 2.0 * M_PI / teeth / 4.0;
372 for (i = 0; i < teeth; i++)
374 angle = i * 2.0 * M_PI / teeth;
331 gear(GLint j,char type[],GLfloat radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dauxbuffer.c73 * outer_radius - radius at center of teeth
75 * teeth - number of teeth
80 GLint teeth, GLfloat tooth_depth)
91 da = 2.0 * M_PI / teeth / 4.0;
99 for (i = 0; i <= teeth; i++) {
100 angle = i * 2.0 * M_PI / teeth;
103 if (i < teeth) {
111 /* draw front sides of teeth */
113 da = 2.0 * M_PI / teeth / 4.
79 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Dglxcontexts.c106 * outer_radius - radius at center of teeth
108 * teeth - number of teeth
113 GLint teeth, GLfloat tooth_depth)
124 da = 2.0 * M_PI / teeth / 4.0;
132 for (i = 0; i <= teeth; i++) {
133 angle = i * 2.0 * M_PI / teeth;
136 if (i < teeth) {
144 /* draw front sides of teeth */
146 da = 2.0 * M_PI / teeth / 4.
112 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dglxgears.c118 * outer_radius - radius at center of teeth
120 * teeth - number of teeth
125 GLint teeth, GLfloat tooth_depth)
136 da = 2.0 * M_PI / teeth / 4.0;
144 for (i = 0; i <= teeth; i++) {
145 angle = i * 2.0 * M_PI / teeth;
148 if (i < teeth) {
156 /* draw front sides of teeth */
158 da = 2.0 * M_PI / teeth / 4.
124 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dglxgears_fbconfig.c107 * outer_radius - radius at center of teeth
109 * teeth - number of teeth
114 GLint teeth, GLfloat tooth_depth)
125 da = 2.0 * M_PI / teeth / 4.0;
133 for (i = 0; i <= teeth; i++) {
134 angle = i * 2.0 * M_PI / teeth;
137 if (i < teeth) {
145 /* draw front sides of teeth */
147 da = 2.0 * M_PI / teeth / 4.
113 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dglxgears_pixmap.c103 * outer_radius - radius at center of teeth
105 * teeth - number of teeth
110 GLint teeth, GLfloat tooth_depth)
121 da = 2.0 * M_PI / teeth / 4.0;
129 for (i = 0; i <= teeth; i++) {
130 angle = i * 2.0 * M_PI / teeth;
133 if (i < teeth) {
141 /* draw front sides of teeth */
143 da = 2.0 * M_PI / teeth / 4.
109 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dmultictx.c82 * outer_radius - radius at center of teeth
84 * teeth - number of teeth
89 GLint teeth, GLfloat tooth_depth)
100 da = 2.0 * M_PI / teeth / 4.0;
108 for (i = 0; i <= teeth; i++) {
109 angle = i * 2.0 * M_PI / teeth;
112 if (i < teeth) {
120 /* draw front sides of teeth */
122 da = 2.0 * M_PI / teeth / 4.
88 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
H A Dglxswapcontrol.c132 * outer_radius - radius at center of teeth
134 * teeth - number of teeth
139 GLint teeth, GLfloat tooth_depth)
150 da = 2.0 * M_PI / teeth / 4.0;
158 for (i = 0; i <= teeth; i++) {
159 angle = i * 2.0 * M_PI / teeth;
162 if (i < teeth) {
170 /* draw front sides of teeth */
172 da = 2.0 * M_PI / teeth / 4.
138 gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles2/
H A Des2gears.c131 * @param outer_radius radius at center of teeth
133 * @param teeth number of teeth
140 GLint teeth, GLfloat tooth_depth)
161 da = 2.0 * M_PI / teeth / 4.0;
164 gear->nstrips = STRIPS_PER_TOOTH * teeth;
168 gear->vertices = calloc(VERTICES_PER_TOOTH * teeth, sizeof(*gear->vertices));
171 for (i = 0; i < teeth; i++) {
173 sincos(i * 2.0 * M_PI / teeth, &s[0], &c[0]);
174 sincos(i * 2.0 * M_PI / teeth
139 create_gear(GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/
H A Dgears.c55 * outer_radius - radius at center of teeth
57 * teeth - number of teeth
62 GLfloat width, GLint teeth, GLfloat tooth_depth)
74 a0 = 2.0 * M_PI / teeth;
80 gear->num_teeth = teeth;
83 total_verts = teeth * verts_per_tooth;
104 for (i = 0; i < teeth; i++) {
61 init_gear(struct gear * gear,GLfloat inner_radius,GLfloat outer_radius,GLfloat width,GLint teeth,GLfloat tooth_depth) argument

Completed in 10 milliseconds