Home
last modified time | relevance | path

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

/external/skia/gm/
Dlighting.cpp75 SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), SkScalarCos(elevationRad)), in onDraw() local
105 paint.setImageFilter(SkLightingImageFilter::CreateDistantLitDiffuse(distantDirection, in onDraw()
135 paint.setImageFilter(SkLightingImageFilter::CreateDistantLitSpecular(distantDirection, in onDraw()
/external/skia/bench/
DLightingBench.cpp41 static SkPoint3 distantDirection(SkScalarMul(SkScalarCos(azimuthRad), in getDistantDirection() local
46 return distantDirection; in getDistantDirection()