Searched refs:cosAngle (Results 1 – 11 of 11) sorted by relevance
/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 | 151 SkScalar sinAngle, cosAngle; in DEF_TEST() member 176 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkM44.cpp | 260 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument 266 SkScalar c = cosAngle; in setRotateUnitSinCos()
|
/external/skia/modules/canvaskit/ |
D | matrix.js | 255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument 259 var c = cosAngle;
|
/external/skia/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 1078 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local 1080 if (cosAngle >= fCosOuterConeAngle) { in lightColor() 1081 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor() 1082 if (cosAngle < fCosInnerConeAngle) { in lightColor() 1083 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
|
/external/skia/src/gpu/ganesh/geometry/ |
D | GrAATriangulator.cpp | 445 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local 446 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
|
D | GrTriangulator.cpp | 1071 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector() local 1072 if (cosAngle > 0.999) { in computeBisector()
|
/external/skia/include/core/ |
D | SkM44.h | 320 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 3218 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];
|