Searched refs:cosAzimuth (Results 1 – 5 of 5) sorted by relevance
/third_party/flutter/skia/gm/ |
D | lighting.cpp | 73 cosAzimuth = SkScalarCos(SkDegreesToRadians(fAzimuth)); in onDraw() local 76 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw() 81 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw() 86 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw()
|
D | imagemakewithfilter.cpp | 151 cosAzimuth = SkScalarCos(SkDegreesToRadians(225.f)); in lighting_factory() local 154 SkPoint3 diffLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in lighting_factory() 158 spotTarget.fY + 50 * cosAzimuth, in lighting_factory()
|
/third_party/skia/gm/ |
D | lighting.cpp | 72 cosAzimuth = SkScalarCos(SkDegreesToRadians(fAzimuth)); in onDraw() local 75 SkPoint3 spotLocation = SkPoint3::Make(spotTarget.fX + 70.7214f * cosAzimuth, in onDraw() 83 SkPoint3 pointLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in onDraw() 88 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw()
|
D | imagemakewithfilter.cpp | 151 cosAzimuth = SkScalarCos(SkDegreesToRadians(225.f)); in lighting_factory() local 154 SkPoint3 diffLocation = SkPoint3::Make(spotTarget.fX + 50 * cosAzimuth, in lighting_factory() 158 spotTarget.fY + 50 * cosAzimuth, in lighting_factory()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeLightSource.cpp | 19 const float sinAzimuth = sinf(azimuthRad), cosAzimuth = cosf(azimuthRad); in computeDirection() local 21 return SkPoint3::Make(cosAzimuth * cosElevation, sinAzimuth * cosElevation, sinElevation); in computeDirection()
|