/external/libkmsxx/kmscube/ |
D | esTransform.cpp | 77 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/ |
D | tcuVectorUtil.hpp | 92 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/ |
D | MicrosphereInterpolatingFunction.java | 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
|
/external/skia/tests/ |
D | M44Test.cpp | 146 SkScalar sinAngle, cosAngle; in DEF_TEST() member 171 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
|
/external/skia/modules/canvaskit/ |
D | matrix.js | 255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument 259 var c = cosAngle;
|
/external/skia/src/core/ |
D | SkM44.cpp | 330 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument 336 SkScalar c = cosAngle; in setRotateUnitSinCos()
|
/external/skia/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 1021 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/ |
D | SkLightingImageFilter.cpp | 1019 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/ |
D | GrAATriangulator.cpp | 442 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local 443 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
|
D | GrTriangulator.cpp | 940 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector() local 941 if (cosAngle > 0.999) { in computeBisector()
|
/external/skia/include/core/ |
D | SkM44.h | 308 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 2999 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];
|
/external/skqp/src/gpu/ |
D | GrTessellator.cpp | 1899 float cosAngle = normal.dot(prevNormal); in stroke_boundary() local 1900 if (cosAngle < -kCosMiterAngle) { in stroke_boundary()
|