Home
last modified time | relevance | path

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

/third_party/skia/modules/svg/src/
DSkSVGFeLightSource.cpp18 const float elevationRad = SkDegreesToRadians(fElevation); in computeDirection() local
20 const float sinElevation = sinf(elevationRad), cosElevation = cosf(elevationRad); in computeDirection()
/third_party/skia/bench/
DLightingBench.cpp39 static SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in GetDistantDirection() local
41 SkScalarCos(azimuthRad) * SkScalarCos(elevationRad), in GetDistantDirection()
42 SkScalarSin(azimuthRad) * SkScalarCos(elevationRad), in GetDistantDirection()
43 SkScalarSin(elevationRad)); in GetDistantDirection()
/third_party/skia/gm/
Dlighting.cpp86 SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in onDraw() local
88 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw()
89 sinAzimuth * SkScalarCos(elevationRad), in onDraw()
90 SkScalarSin(elevationRad)); in onDraw()