Searched refs:cosAngle (Results 1 – 3 of 3) sorted by relevance
91 float cosAngle = (n * i); in refract() local92 float k = 1.0f - eta * eta * (1.0f - cosAngle * cosAngle); in refract()96 return eta * i - (eta * cosAngle + deFloatSqrt(k)) * n; in refract()196 T cosAngle = dot(n, i); in refract() local197 T k = T(1) - eta * eta * (T(1) - cosAngle * cosAngle); in refract()201 return i * eta - n * T(eta * cosAngle + ::sqrt(k)); in refract()
212 md.store(cosAngle(diff, md.normal()) * w, sd); in value()240 private double cosAngle(final RealVector v, final RealVector w) { in cosAngle() method in MicrosphereInterpolatingFunction
963 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local965 if (cosAngle >= fCosOuterConeAngle) { in lightColor()966 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()967 if (cosAngle < fCosInnerConeAngle) { in lightColor()968 scale = SkScalarMul(scale, cosAngle - fCosOuterConeAngle); in lightColor()