Searched refs:surfaceTolight (Results 1 – 1 of 1) sorted by relevance
81 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, in light() argument83 SkScalar colorScale = SkScalarMul(fKD, normal.dot(surfaceTolight)); in light()103 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, in light() argument105 SkPoint3 halfDir(surfaceTolight); in light()