Home
last modified time | relevance | path

Searched refs:sinAzimuth (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/gm/
H A Dlighting.cpp71 SkScalar sinAzimuth = SkScalarSin(SkDegreesToRadians(fAzimuth)), variable
76 spotTarget.fY + 70.7214f * sinAzimuth,
84 spotTarget.fY + 50 * sinAzimuth,
89 sinAzimuth * SkScalarCos(elevationRad),
H A 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()
/third_party/skia/modules/svg/src/
H A DSkSVGFeLightSource.cpp19 const float sinAzimuth = sinf(azimuthRad), cosAzimuth = cosf(azimuthRad); in computeDirection() local
21 return SkPoint3::Make(cosAzimuth * cosElevation, sinAzimuth * cosElevation, sinElevation); in computeDirection()

Completed in 3 milliseconds