Home
last modified time | relevance | path

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

/external/skia/bench/
DLightingBench.cpp40 static SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in getDistantDirection() local
42 SkScalarCos(elevationRad)), in getDistantDirection()
44 SkScalarCos(elevationRad)), in getDistantDirection()
45 SkScalarSin(elevationRad)); in getDistantDirection()
/external/skia/gm/
Dlighting.cpp74 SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in onDraw() local
75 SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), SkScalarCos(elevationRad)), in onDraw()
76 SkScalarMul(SkScalarSin(azimuthRad), SkScalarCos(elevationRad)), in onDraw()
77 SkScalarSin(elevationRad)); in onDraw()