Lines Matching refs:theta1
46 float theta1, phi1, theta2, phi2, rings, sides;
60 theta1 = (float) i *2.0 * M_PI / rings;
66 v0[0] = cos(theta1) * (outerRadius + innerRadius * cos(phi1));
67 v0[1] = -sin(theta1) * (outerRadius + innerRadius * cos(phi1));
77 v3[0] = cos(theta1) * (outerRadius + innerRadius * cos(phi2));
78 v3[1] = -sin(theta1) * (outerRadius + innerRadius * cos(phi2));
81 n0[0] = cos(theta1) * (cos(phi1));
82 n0[1] = -sin(theta1) * (cos(phi1));
93 n3[0] = cos(theta1) * (cos(phi2));
94 n3[1] = -sin(theta1) * (cos(phi2));