Searched refs:cosAzimuth (Results 1 – 3 of 3) sorted by relevance
63 SkScalar cosAzimuth; in onDraw() local64 SkScalar sinAzimuth = SkScalarSinCos(SkDegreesToRadians(fAzimuth), &cosAzimuth); in onDraw()67 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw()72 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw()77 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw()
73 cosAzimuth = SkScalarCos(SkDegreesToRadians(fAzimuth)); in onDraw() local76 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw()81 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw()86 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw()
151 cosAzimuth = SkScalarCos(SkDegreesToRadians(225.f)); in lighting_factory() local154 SkPoint3 diffLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in lighting_factory()158 spotTarget.fY + 50 * cosAzimuth, in lighting_factory()