Home
last modified time | relevance | path

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

/external/skia/bench/
DLightingBench.cpp39 static SkScalar azimuthRad = SkDegreesToRadians(SkIntToScalar(225)); in getDistantDirection() local
41 static SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), in getDistantDirection()
43 SkScalarMul(SkScalarSin(azimuthRad), in getDistantDirection()
/external/skia/gm/
Dlighting.cpp73 SkScalar azimuthRad = SkDegreesToRadians(SkIntToScalar(225)); in onDraw() local
75 SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), SkScalarCos(elevationRad)), in onDraw()
76 SkScalarMul(SkScalarSin(azimuthRad), SkScalarCos(elevationRad)), in onDraw()