Lines Matching refs:fRadius
19 SkScalar fRadius;
21 VSphere(SkV2 center, SkScalar radius) : fCenter(center), fRadius(radius) {}
24 return (v - fCenter).length() <= fRadius;
29 if (v.length() > fRadius) {
30 v *= (fRadius / v.length());
36 v = (v - fCenter) * (1 / fRadius);
151 SkScalar fRadius;
161 canvas->drawCircle(fLoc.x, fLoc.y, fRadius + 2, paint);
163 canvas->drawCircle(fLoc.x, fLoc.y, fRadius, paint);
307 canvas->drawCircle(fSphere.fCenter.x, fSphere.fCenter.y, fSphere.fRadius, paint);
308 canvas->drawLine(fSphere.fCenter.x, fSphere.fCenter.y - fSphere.fRadius,
309 fSphere.fCenter.x, fSphere.fCenter.y + fSphere.fRadius, paint);
310 canvas->drawLine(fSphere.fCenter.x - fSphere.fRadius, fSphere.fCenter.y,
311 fSphere.fCenter.x + fSphere.fRadius, fSphere.fCenter.y, paint);
317 if (p.length() <= fLight.fRadius) {