Searched refs:elevationRad (Results 1 – 2 of 2) sorted by relevance
40 static SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in getDistantDirection() local42 SkScalarCos(elevationRad)), in getDistantDirection()44 SkScalarCos(elevationRad)), in getDistantDirection()45 SkScalarSin(elevationRad)); in getDistantDirection()
74 SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in onDraw() local75 SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), SkScalarCos(elevationRad)), in onDraw()76 SkScalarMul(SkScalarSin(azimuthRad), SkScalarCos(elevationRad)), in onDraw()77 SkScalarSin(elevationRad)); in onDraw()