Home
last modified time | relevance | path

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

/external/libkmsxx/kmscube/
DesTransform.cpp77 GLfloat sinAngle, cosAngle; in esRotate() local
81 cosAngle = cosf(angle * PI / 180.0f); in esRotate()
100 oneMinusCos = 1.0f - cosAngle; in esRotate()
102 rotMat.m[0][0] = (oneMinusCos * xx) + cosAngle; in esRotate()
108 rotMat.m[1][1] = (oneMinusCos * yy) + cosAngle; in esRotate()
114 rotMat.m[2][2] = (oneMinusCos * zz) + cosAngle; in esRotate()
/external/deqp/framework/common/
DtcuVectorUtil.hpp92 float cosAngle = (n * i); in refract() local
93 float k = 1.0f - eta * eta * (1.0f - cosAngle * cosAngle); in refract()
97 return eta * i - (eta * cosAngle + deFloatSqrt(k)) * n; in refract()
197 T cosAngle = dot(n, i); in refract() local
198 T k = T(1) - eta * eta * (T(1) - cosAngle * cosAngle); in refract()
202 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/skia/tests/
DM44Test.cpp146 SkScalar sinAngle, cosAngle; in DEF_TEST() member
171 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
/external/skia/modules/canvaskit/
Dmatrix.js255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument
259 var c = cosAngle;
/external/skia/src/core/
DSkM44.cpp330 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument
336 SkScalar c = cosAngle; in setRotateUnitSinCos()
/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/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/gpu/
DGrAATriangulator.cpp442 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local
443 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
DGrTriangulator.cpp940 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector() local
941 if (cosAngle > 0.999) { in computeBisector()
/external/skia/include/core/
DSkM44.h308 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts2999 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];
/external/skqp/src/gpu/
DGrTessellator.cpp1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary() local
1900 if (cosAngle < -kCosMiterAngle) { in stroke_boundary()