OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:elevationRad
(Results
1 - 3
of
3
) sorted by null
/external/skia/bench/
LightingBench.cpp
40
static SkScalar
elevationRad
= SkDegreesToRadians(SkIntToScalar(5));
42
SkScalarCos(
elevationRad
)),
44
SkScalarCos(
elevationRad
)),
45
SkScalarSin(
elevationRad
));
/external/skia/gm/
lighting.cpp
73
SkScalar
elevationRad
= SkDegreesToRadians(SkIntToScalar(5));
74
SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), SkScalarCos(
elevationRad
)),
75
SkScalarMul(SkScalarSin(azimuthRad), SkScalarCos(
elevationRad
)),
76
SkScalarSin(
elevationRad
));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FELighting.cpp
421
float
elevationRad
= deg2rad(distantLightSource->elevation());
422
SkPoint3 direction(cosf(azimuthRad) * cosf(
elevationRad
),
423
sinf(azimuthRad) * cosf(
elevationRad
),
424
sinf(
elevationRad
));
Completed in 39 milliseconds