Lines Matching refs:theta2
46 float theta1, phi1, theta2, phi2, rings, sides;
61 theta2 = (float) (i + 1) * 2.0 * M_PI / rings;
70 v1[0] = cos(theta2) * (outerRadius + innerRadius * cos(phi1));
71 v1[1] = -sin(theta2) * (outerRadius + innerRadius * cos(phi1));
73 v2[0] = cos(theta2) * (outerRadius + innerRadius * cos(phi2));
74 v2[1] = -sin(theta2) * (outerRadius + innerRadius * cos(phi2));
85 n1[0] = cos(theta2) * (cos(phi1));
86 n1[1] = -sin(theta2) * (cos(phi1));
89 n2[0] = cos(theta2) * (cos(phi2));
90 n2[1] = -sin(theta2) * (cos(phi2));