Searched refs:halfwayVector (Results 1 – 1 of 1) sorted by relevance
193 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel() local194 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() local212 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()