Home
last modified time | relevance | path

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

/external/skqp/gm/
Dlighting.cpp64 SkScalar sinAzimuth = SkScalarSinCos(SkDegreesToRadians(fAzimuth), &cosAzimuth); in onDraw() local
68 spotTarget.fY + 70.7214f * sinAzimuth, in onDraw()
73 spotTarget.fY + 50 * sinAzimuth, in onDraw()
78 sinAzimuth * SkScalarCos(elevationRad), in onDraw()
/external/skia/gm/
Dlighting.cpp71 SkScalar sinAzimuth = SkScalarSin(SkDegreesToRadians(fAzimuth)), in onDraw() local
76 spotTarget.fY + 70.7214f * sinAzimuth, in onDraw()
84 spotTarget.fY + 50 * sinAzimuth, in onDraw()
89 sinAzimuth * SkScalarCos(elevationRad), in onDraw()
Dimagemakewithfilter.cpp150 SkScalar sinAzimuth = SkScalarSin(SkDegreesToRadians(225.f)), in lighting_factory() local
155 spotTarget.fY + 50 * sinAzimuth, in lighting_factory()
157 SkPoint3 specLocation = SkPoint3::Make(spotTarget.fX - 50 * sinAzimuth, in lighting_factory()
/external/skia/modules/svg/src/
DSkSVGFeLightSource.cpp19 const float sinAzimuth = sinf(azimuthRad), cosAzimuth = cosf(azimuthRad); in computeDirection() local
21 return SkPoint3::Make(cosAzimuth * cosElevation, sinAzimuth * cosElevation, sinElevation); in computeDirection()