Searched refs:elevationRad (Results 1 – 3 of 3) sorted by relevance
18 const float elevationRad = SkDegreesToRadians(fElevation); in computeDirection() local20 const float sinElevation = sinf(elevationRad), cosElevation = cosf(elevationRad); in computeDirection()
39 static SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in GetDistantDirection() local41 SkScalarCos(azimuthRad) * SkScalarCos(elevationRad), in GetDistantDirection()42 SkScalarSin(azimuthRad) * SkScalarCos(elevationRad), in GetDistantDirection()43 SkScalarSin(elevationRad)); in GetDistantDirection()
86 SkScalar elevationRad = SkDegreesToRadians(SkIntToScalar(5)); in onDraw() local88 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw()89 sinAzimuth * SkScalarCos(elevationRad), in onDraw()90 SkScalarSin(elevationRad)); in onDraw()