Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/filters/
DFELighting.cpp193 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel() local
194 halfwayVector.setZ(halfwayVector.z() + paintingData.lightVectorLength); in inlineSetPixel()
195 float halfwayVectorLength = halfwayVector.length(); in inlineSetPixel()
197 lightStrength = m_specularConstant * halfwayVector.z() / halfwayVectorLength; in inlineSetPixel()
199 …lightStrength = m_specularConstant * powf(halfwayVector.z() / halfwayVectorLength, m_specularExpon… in inlineSetPixel()
211 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel() local
212 halfwayVector.setZ(halfwayVector.z() + paintingData.lightVectorLength); in inlineSetPixel()
213 float halfwayVectorLength = halfwayVector.length(); in inlineSetPixel()
215 …lightStrength = m_specularConstant * (normalVector * halfwayVector) / (normalVectorLength * halfwa… in inlineSetPixel()
217 …lightStrength = m_specularConstant * powf((normalVector * halfwayVector) / (normalVectorLength * h… in inlineSetPixel()