Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkLightingImageFilter.cpp105 SkPoint3 halfDir(surfaceTolight); in light() local
106 halfDir.fZ += SK_Scalar1; // eye position is always (0, 0, 1) in light()
107 fast_normalize(&halfDir); in light()
109 SkScalarPow(normal.dot(halfDir), fShininess)); in light()