Searched refs:cosAngle (Results 1 – 7 of 7) sorted by relevance
80 GLfloat sinAngle, cosAngle; in esRotate() local84 cosAngle = cosf ( angle * PI / 180.0f ); in esRotate()104 oneMinusCos = 1.0f - cosAngle; in esRotate()106 rotMat.m[0][0] = (oneMinusCos * xx) + cosAngle; in esRotate()112 rotMat.m[1][1] = (oneMinusCos * yy) + cosAngle; in esRotate()118 rotMat.m[2][2] = (oneMinusCos * zz) + cosAngle; in esRotate()
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
1019 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local1021 if (cosAngle >= fCosOuterConeAngle) { in lightColor()1022 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()1023 if (cosAngle < fCosInnerConeAngle) { in lightColor()1024 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
1021 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local1023 if (cosAngle >= fCosOuterConeAngle) { in lightColor()1024 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()1025 if (cosAngle < fCosInnerConeAngle) { in lightColor()1026 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary() local1900 if (cosAngle < -kCosMiterAngle) { in stroke_boundary()