Home
last modified time | relevance | path

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

/external/skia/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()