Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dvector_math.dart538 final double cosAngle = math.cos(angle);
540 final double t1 = _m4storage[0] * cosAngle + _m4storage[4] * sinAngle;
541 final double t2 = _m4storage[1] * cosAngle + _m4storage[5] * sinAngle;
542 final double t3 = _m4storage[2] * cosAngle + _m4storage[6] * sinAngle;
543 final double t4 = _m4storage[3] * cosAngle + _m4storage[7] * sinAngle;
544 final double t5 = _m4storage[0] * -sinAngle + _m4storage[4] * cosAngle;
545 final double t6 = _m4storage[1] * -sinAngle + _m4storage[5] * cosAngle;
546 final double t7 = _m4storage[2] * -sinAngle + _m4storage[6] * cosAngle;
547 final double t8 = _m4storage[3] * -sinAngle + _m4storage[7] * cosAngle;
/third_party/skia/tests/
DM44Test.cpp146 SkScalar sinAngle, cosAngle; in DEF_TEST() member
171 m.setRotateUnitSinCos(r.aboutAxis, r.sinAngle, r.cosAngle); in DEF_TEST()
/third_party/skia/src/core/
DSkM44.cpp264 SkM44& SkM44::setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle) { in setRotateUnitSinCos() argument
270 SkScalar c = cosAngle; in setRotateUnitSinCos()
/third_party/skia/modules/canvaskit/
Dmatrix.js255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) { argument
259 var c = cosAngle;
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1030 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
1032 if (cosAngle >= fCosOuterConeAngle) { in lightColor()
1033 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()
1034 if (cosAngle < fCosInnerConeAngle) { in lightColor()
1035 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
/third_party/flutter/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp1014 SkScalar cosAngle = -surfaceToLight.dot(fS); in lightColor() local
1016 if (cosAngle >= fCosOuterConeAngle) { in lightColor()
1017 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()
1018 if (cosAngle < fCosInnerConeAngle) { in lightColor()
1019 scale *= (cosAngle - fCosOuterConeAngle) * fConeScale; in lightColor()
/third_party/skia/src/gpu/geometry/
DGrAATriangulator.cpp442 float cosAngle = normal.dot(prevNormal); in strokeBoundary() local
443 if (cosAngle < -kCosMiterAngle) { in strokeBoundary()
DGrTriangulator.cpp1042 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in computeBisector() local
1043 if (cosAngle > 0.999) { in computeBisector()
/third_party/skia/include/core/
DSkM44.h308 SkM44& setRotateUnitSinCos(SkV3 axis, SkScalar sinAngle, SkScalar cosAngle);
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp1246 double cosAngle = line1.fA * line2.fA + line1.fB * line2.fB; in compute_bisector() local
1247 if (cosAngle > 0.999) { in compute_bisector()
1983 float cosAngle = normal.dot(prevNormal); in stroke_boundary() local
1984 if (cosAngle < -kCosMiterAngle) { in stroke_boundary()
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts3067 rotatedUnitSinCos(axis: Vector3, sinAngle: number, cosAngle: number): number[];