Home
last modified time | relevance | path

Searched refs:cosAzimuth (Results 1 – 3 of 3) sorted by relevance

/external/skqp/gm/
Dlighting.cpp63 SkScalar cosAzimuth; in onDraw() local
64 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()
/external/skia/gm/
Dlighting.cpp73 cosAzimuth = SkScalarCos(SkDegreesToRadians(fAzimuth)); in onDraw() local
76 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()
Dimagemakewithfilter.cpp151 cosAzimuth = SkScalarCos(SkDegreesToRadians(225.f)); in lighting_factory() local
154 SkPoint3 diffLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in lighting_factory()
158 spotTarget.fY + 50 * cosAzimuth, in lighting_factory()