Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Dlighting.cpp72 SkScalar sinAzimuth = SkScalarSin(SkDegreesToRadians(fAzimuth)), in onDraw() local
77 spotTarget.fY + 70.7214f * sinAzimuth, in onDraw()
82 spotTarget.fY + 50 * sinAzimuth, in onDraw()
87 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()
/third_party/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()
/third_party/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()