Home
last modified time | relevance | path

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

/third_party/flutter/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()
/third_party/skia/gm/
Dlighting.cpp72 cosAzimuth = SkScalarCos(SkDegreesToRadians(fAzimuth)); in onDraw() local
75 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw()
83 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw()
88 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()
/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()