Searched refs:halfDir (Results 1 – 1 of 1) sorted by relevance
105 SkPoint3 halfDir(surfaceTolight); in light() local106 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()