Home
last modified time | relevance | path

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

/external/libkmsxx/kmscube/
DesTransform.c80 GLfloat sinAngle, cosAngle; in esRotate() local
84 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()
/external/deqp/framework/common/
DtcuVectorUtil.hpp91 float cosAngle = (n * i); in refract() local
92 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() local
197 T k = T(1) - eta * eta * (T(1) - cosAngle * cosAngle); in refract()
201 return i * eta - n * T(eta * cosAngle + ::sqrt(k)); in refract()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
DMicrosphereInterpolatingFunction.java212 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
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp1019 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
1021 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()
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1021 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
1023 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()
/external/skia/src/gpu/
DGrTessellator.cpp1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary() local
1900 if (cosAngle < -kCosMiterAngle) { in stroke_boundary()
/external/skqp/src/gpu/
DGrTessellator.cpp1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary() local
1900 if (cosAngle < -kCosMiterAngle) { in stroke_boundary()