Lines Matching defs:teeth
42 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.0;
84 for (i = 0; i < teeth; i++) {
85 angle = i * 2.0 * M_PI / teeth;
98 for (i = 0; i <= teeth; i++) {
99 angle = i * 2.0 * M_PI / teeth;
102 if (i < teeth) {
109 /* draw back sides of teeth */
111 da = 2.0 * M_PI / teeth / 4.0;
112 for (i = 0; i < teeth; i++) {
113 angle = i * 2.0 * M_PI / teeth;
122 /* draw outward faces of teeth */
124 for (i = 0; i < teeth; i++) {
125 angle = i * 2.0 * M_PI / teeth;
157 for (i = 0; i <= teeth; i++) {
158 angle = i * 2.0 * M_PI / teeth;