Lines Matching defs:teeth
103 * 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.0;
144 for (i = 0; i < teeth; i++) {
145 angle = i * 2.0 * M_PI / teeth;
160 for (i = 0; i <= teeth; i++) {
161 angle = i * 2.0 * M_PI / teeth;
164 if (i < teeth) {
172 /* draw back sides of teeth */
174 da = 2.0 * M_PI / teeth / 4.0;
175 for (i = 0; i < teeth; i++) {
176 angle = i * 2.0 * M_PI / teeth;
187 /* draw outward faces of teeth */
189 for (i = 0; i < teeth; i++) {
190 angle = i * 2.0 * M_PI / teeth;
226 for (i = 0; i <= teeth; i++) {
227 angle = i * 2.0 * M_PI / teeth;