Searched refs:cosPhi (Results 1 - 2 of 2) sorted by relevance

/haiku/src/libs/glut/
H A Dglut_shapes.c206 GLfloat cosPhi, sinPhi, dist; local
209 cosPhi = cos(phi);
211 dist = R + r * cosPhi;
213 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi);
215 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp674 double cosPhi = cos(angle * radPerDeg); local
676 double x1dash = cosPhi * (x1 - x2) / 2.0 +
679 cosPhi * (y1 - y2) / 2.0;
699 double cx = cosPhi * cxdash - sinPhi * cydash + (x1 + x2) / 2.0;
700 double cy = sinPhi * cxdash + cosPhi * cydash + (y1 + y2) / 2.0;
727 double xe = cosPhi * rx * cosTheta2 - sinPhi * ry * sinTheta2 + cx;
728 double ye = sinPhi * rx * cosTheta2 + cosPhi * ry * sinTheta2 + cy;
730 double dx1 = t * (-cosPhi * rx * sinTheta1 - sinPhi * ry * cosTheta1);
731 double dy1 = t * (-sinPhi * rx * sinTheta1 + cosPhi * ry * cosTheta1);
733 double dxe = t * (cosPhi * r
[all...]

Completed in 47 milliseconds